mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-07-27 23:19:58 +00:00
TUN-7125: Add management streaming logs WebSocket protocol
This commit is contained in:
32
vendor/nhooyr.io/websocket/doc.go
generated
vendored
Normal file
32
vendor/nhooyr.io/websocket/doc.go
generated
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
// +build !js
|
||||
|
||||
// Package websocket implements the RFC 6455 WebSocket protocol.
|
||||
//
|
||||
// https://tools.ietf.org/html/rfc6455
|
||||
//
|
||||
// Use Dial to dial a WebSocket server.
|
||||
//
|
||||
// Use Accept to accept a WebSocket client.
|
||||
//
|
||||
// Conn represents the resulting WebSocket connection.
|
||||
//
|
||||
// The examples are the best way to understand how to correctly use the library.
|
||||
//
|
||||
// The wsjson and wspb subpackages contain helpers for JSON and protobuf messages.
|
||||
//
|
||||
// More documentation at https://nhooyr.io/websocket.
|
||||
//
|
||||
// Wasm
|
||||
//
|
||||
// The client side supports compiling to Wasm.
|
||||
// It wraps the WebSocket browser API.
|
||||
//
|
||||
// See https://developer.mozilla.org/en-US/docs/Web/API/WebSocket
|
||||
//
|
||||
// Some important caveats to be aware of:
|
||||
//
|
||||
// - Accept always errors out
|
||||
// - Conn.Ping is no-op
|
||||
// - HTTPClient, HTTPHeader and CompressionMode in DialOptions are no-op
|
||||
// - *http.Response from Dial is &http.Response{} with a 101 status code on success
|
||||
package websocket // import "nhooyr.io/websocket"
|
Reference in New Issue
Block a user