MCPcopy Index your code
hub / github.com/coder/websocket / StatusCode

TypeAlias StatusCode

close.go:18–18  ·  view source on GitHub ↗

StatusCode represents a WebSocket status code. https://tools.ietf.org/html/rfc6455#section-7.4

Source from the content-addressed store, hash-verified

16// StatusCode represents a WebSocket status code.
17// https://tools.ietf.org/html/rfc6455#section-7.4
18type StatusCode int
19
20// https://www.iana.org/assignments/websocket/websocket.xhtml#close-code-number
21//

Callers 2

parseClosePayloadFunction · 0.70
StringMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected