-
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:
Andy Green <andy.green@linaro.org>
Andy Green authoredServer 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:
Andy Green <andy.green@linaro.org>