struct WebSocketOptions [src]
Fields
key: []const u8The value from UpgradeRequest.websocket (sec-websocket-key header value).
reason: ?[]const u8 = null
extra_headers: []const http.Header = &.{}
Source
pub const WebSocketOptions = struct {
/// The value from `UpgradeRequest.websocket` (sec-websocket-key header value).
key: []const u8,
reason: ?[]const u8 = null,
extra_headers: []const http.Header = &.{},
}