- 
                Notifications
    You must be signed in to change notification settings 
- Fork 13.3k
ESP8266WebServer: Add variadic template version of collectHeaders() #7296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP8266WebServer: Add variadic template version of collectHeaders() #7296
Conversation
| @jjsuwa, it looks like this changes the API in a way that breaks existing examples. Can you check the Travis CI logs and see? | 
| Hmm, Travis CI notification stalled? | 
135ac22    to
    2c5c987      
    Compare
  
    7fe8662    to
    c9c046f      
    Compare
  
    6f3fe64    to
    043345c      
    Compare
  
    bfdd076    to
    029c160      
    Compare
  
    4e1303e    to
    f71eca5      
    Compare
  
    f71eca5    to
    71b3a99      
    Compare
  
    79af719    to
    c94e389      
    Compare
  
    There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approving the templatoid variadicoid collectHeaderoid, thanks !
2686eed    to
    ced25ea      
    Compare
  
    a604914    to
    db39012      
    Compare
  
    695a997    to
    4a40d36      
    Compare
  
    | @devyte, this is some deep template voodoo. Can you give it a look-see? | 
65ce6b6    to
    ef0bb25      
    Compare
  
    | Should  | 
ef0bb25    to
    7a75371      
    Compare
  
    * More user-friendly, less RODATA usage.
eg. `webServer.collectHeaders(F("Content-Type"), F("Origin"));`
In this example, less about 20 bytes than the traditional way.
    7a75371    to
    ef79356      
    Compare
  
    
eg.
webServer.collectHeaders(F("Content-Type"), F("Origin"));In this example, less about 20 bytes than the traditional way.