mirror of
https://github.com/curl/curl.git
synced 2026-07-24 17:07:16 +03:00
hyper: drop support
lib : remove all hyper code configure: stop detecting hyper docs: no more mention of hyper tests: mo more special-handling of hyper builds CI: no jobs using hyper Closes #15120
This commit is contained in:
parent
46093d9e0e
commit
fc3e1cbc50
93 changed files with 118 additions and 2546 deletions
8
lib/ws.h
8
lib/ws.h
|
|
@ -27,12 +27,6 @@
|
|||
|
||||
#if !defined(CURL_DISABLE_WEBSOCKETS) && !defined(CURL_DISABLE_HTTP)
|
||||
|
||||
#ifdef USE_HYPER
|
||||
#define REQTYPE void
|
||||
#else
|
||||
#define REQTYPE struct dynbuf
|
||||
#endif
|
||||
|
||||
/* a client-side WS frame decoder, parsing frame headers and
|
||||
* payload, keeping track of current position and stats */
|
||||
enum ws_dec_state {
|
||||
|
|
@ -73,7 +67,7 @@ struct websocket {
|
|||
struct curl_ws_frame frame; /* the current WS FRAME received */
|
||||
};
|
||||
|
||||
CURLcode Curl_ws_request(struct Curl_easy *data, REQTYPE *req);
|
||||
CURLcode Curl_ws_request(struct Curl_easy *data, struct dynbuf *req);
|
||||
CURLcode Curl_ws_accept(struct Curl_easy *data, const char *mem, size_t len);
|
||||
|
||||
extern const struct Curl_handler Curl_handler_ws;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue