mirror of
https://github.com/curl/curl.git
synced 2026-08-26 05:03:33 +03:00
protocol source, all about protocols and uri schemes
Add protocol.h and protocol.c containing all about libcurl's known URI schemes and their protocol handlers (so they exist). Moves the scheme definitions from the various sources files into protocol.c. Schemes are known and used, even of the protocol handler is not build or just not implemented at all. Closes #20906
This commit is contained in:
parent
32531f20f9
commit
eb14705280
42 changed files with 1089 additions and 992 deletions
5
lib/ws.h
5
lib/ws.h
|
|
@ -25,11 +25,10 @@
|
|||
***************************************************************************/
|
||||
#include "curl_setup.h"
|
||||
|
||||
extern const struct Curl_scheme Curl_scheme_ws;
|
||||
extern const struct Curl_scheme Curl_scheme_wss;
|
||||
|
||||
#if !defined(CURL_DISABLE_WEBSOCKETS) && !defined(CURL_DISABLE_HTTP)
|
||||
|
||||
extern const struct Curl_protocol Curl_protocol_ws;
|
||||
|
||||
/* meta key for storing protocol meta at connection */
|
||||
#define CURL_META_PROTO_WS_CONN "meta:proto:ws:conn"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue