Skip to content
Snippets Groups Projects
  • Andy Green's avatar
    a661ee5d
    client support http without ws · a661ee5d
    Andy Green authored
    
    Server support for http[s] as well as ws[s] is implicit.
    But until now client only supported ws[s].
    
    This allows the user code to pass an explicit http method
    like "GET" in the connect_info, disabling the ws upgrade logic.
    
    Then you can also use lws client as http client, not just ws.
    
    Signed-off-by: default avatarAndy Green <andy.green@linaro.org>
    a661ee5d
    History
    client support http without ws
    Andy Green authored
    
    Server support for http[s] as well as ws[s] is implicit.
    But until now client only supported ws[s].
    
    This allows the user code to pass an explicit http method
    like "GET" in the connect_info, disabling the ws upgrade logic.
    
    Then you can also use lws client as http client, not just ws.
    
    Signed-off-by: default avatarAndy Green <andy.green@linaro.org>