-
- Downloads
client support http without ws
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>
Showing
- changelog 23 additions, 0 deletionschangelog
- lib/client-handshake.c 15 additions, 1 deletionlib/client-handshake.c
- lib/client.c 206 additions, 80 deletionslib/client.c
- lib/lextable-strings.h 1 addition, 0 deletionslib/lextable-strings.h
- lib/lextable.h 640 additions, 636 deletionslib/lextable.h
- lib/libwebsockets.c 3 additions, 0 deletionslib/libwebsockets.c
- lib/libwebsockets.h 9 additions, 0 deletionslib/libwebsockets.h
- lib/private-libwebsockets.h 18 additions, 11 deletionslib/private-libwebsockets.h
- lib/service.c 34 additions, 0 deletionslib/service.c
- libwebsockets-api-doc.html 20 additions, 0 deletionslibwebsockets-api-doc.html
- test-server/test-client.c 38 additions, 12 deletionstest-server/test-client.c
Loading
Please register or sign in to comment