Home
last modified time | relevance | path

Searched refs:websocket (Results 1 - 13 of 13) sorted by relevance

/third_party/curl/tests/libtest/
H A Dlib2305.c40 static void websocket(CURL *curl) in websocket() function
86 curl_easy_setopt(curl, CURLOPT_USERAGENT, "websocket/2304"); in test()
92 curl_easy_setopt(curl, CURLOPT_CONNECT_ONLY, 2L); /* websocket style */ in test()
96 websocket(curl); in test()
H A Dlib2304.c94 static void websocket(CURL *curl) in websocket() function
97 fprintf(stderr, "ws: websocket() starts\n"); in websocket()
125 curl_easy_setopt(curl, CURLOPT_USERAGENT, "websocket/2304"); in test()
127 curl_easy_setopt(curl, CURLOPT_CONNECT_ONLY, 2L); /* websocket style */ in test()
131 websocket(curl); in test()
H A Dlib2301.c78 static void websocket(CURL *curl)
81 fprintf(stderr, "ws: websocket() starts\n");
143 websocket(curl); in test()
/third_party/curl/docs/examples/
H A Dwebsocket.c90 static void websocket(CURL *curl) in websocket() function
114 curl_easy_setopt(curl, CURLOPT_CONNECT_ONLY, 2L); /* websocket style */ in main()
124 websocket(curl); in main()
/third_party/node/lib/internal/debugger/
H A Dinspect_client.js315 'Upgrade': 'websocket',
333 validateHandshake(requestKey, res.headers['sec-websocket-accept']);
334 debuglog('websocket upgrade');
/third_party/node/test/fixtures/wpt/common/security-features/resources/
H A Dcommon.sub.js788 var websocket = new WebSocket(url);
790 websocket.addEventListener("message", function(e) {
794 websocket.addEventListener("open", function(e) {
795 websocket.send("echo");
798 websocket.addEventListener("error", function(e) {
915 "websocket": {
/third_party/curl/lib/
H A Dws.c344 static void update_meta(struct websocket *ws, in update_meta()
381 struct websocket *ws;
395 struct websocket *ws = ctx->ws; in ws_cw_dec_next()
427 struct websocket *ws; in ws_cw_write()
435 failf(data, "WS: not a websocket transfer"); in ws_cw_write()
687 MUST include the "websocket" keyword. */ in Curl_ws_request()
688 "Upgrade:", "websocket" in Curl_ws_request()
743 * 'nread' is number of bytes of websocket data already in the buffer at
750 struct websocket *ws; in Curl_ws_accept()
822 infof(data, "%zu bytes websocket payloa in Curl_ws_accept()
[all...]
H A Dws.h65 /* A websocket connection with en- and decoder that treat frames
67 struct websocket { struct
H A Durldata.h1058 struct websocket *ws;
/third_party/node/deps/undici/src/lib/websocket/
H A Dconnection.js20 channels.open = diagnosticsChannel.channel('undici:websocket:open')
21 channels.close = diagnosticsChannel.channel('undici:websocket:close')
22 channels.socketError = diagnosticsChannel.channel('undici:websocket:socket_error')
33 * @see https://websockets.spec.whatwg.org/#concept-websocket-establish
36 * @param {import('./websocket').WebSocket} ws
38 * @param {Partial<import('../../types/websocket').WebSocketInit>} options
49 // "websocket", credentials mode is "include", cache mode is "no-store" ,
55 mode: 'websocket',
68 // 3. Append (`Upgrade`, `websocket`) to request’s header list.
80 request.headersList.append('sec-websocket
[all...]
/third_party/nghttp2/integration-tests/
H A Dserver_tester.go28 "golang.org/x/net/websocket"
357 func (st *serverTester) websocket(rp requestParam) *serverResponse {
360 config, err := websocket.NewConfig(urlstring, st.url)
362 st.t.Fatalf("websocket.NewConfig(%q, %q) returned error: %v", urlstring, st.url, err)
370 ws, err := websocket.NewClient(config, st.conn)
372 st.t.Fatalf("Error creating websocket client: %v", err)
H A Dnghttpx_http1_test.go16 "golang.org/x/net/websocket"
512 handler: websocket.Handler(func(ws *websocket.Conn) {
522 res := st.websocket(requestParam{
/third_party/node/deps/undici/
H A Dundici.js1294 if (request.responseTainting === "cors" || request.mode === "websocket") {
10611 currentURL.protocol === "data:" || // - request’s mode is "navigate" or "websocket"
10612 (request.mode === "navigate" || request.mode === "websocket")
11053 if (request.mode === "websocket") {
11210 upgrade: request.mode === "websocket" ? "websocket" : void 0
11344 // lib/websocket/constants.js
11346 "lib/websocket/constants.js"(exports2, module2) {
11388 // lib/websocket/symbols.js
11390 "lib/websocket/symbol
[all...]

Completed in 22 milliseconds