type nhooyr.io/websocket.StatusCode
27 uses
nhooyr.io/websocket (current package)
close.go#L19: type StatusCode int
close.go#L29: StatusNormalClosure StatusCode = 1000
close.go#L30: StatusGoingAway StatusCode = 1001
close.go#L31: StatusProtocolError StatusCode = 1002
close.go#L32: StatusUnsupportedData StatusCode = 1003
close.go#L35: statusReserved StatusCode = 1004
close.go#L40: StatusNoStatusRcvd StatusCode = 1005
close.go#L45: StatusAbnormalClosure StatusCode = 1006
close.go#L47: StatusInvalidFramePayloadData StatusCode = 1007
close.go#L48: StatusPolicyViolation StatusCode = 1008
close.go#L49: StatusMessageTooBig StatusCode = 1009
close.go#L50: StatusMandatoryExtension StatusCode = 1010
close.go#L51: StatusInternalError StatusCode = 1011
close.go#L52: StatusServiceRestart StatusCode = 1012
close.go#L53: StatusTryAgainLater StatusCode = 1013
close.go#L54: StatusBadGateway StatusCode = 1014
close.go#L59: StatusTLSHandshake StatusCode = 1015
close.go#L67: Code StatusCode
close.go#L79: func CloseStatus(err error) StatusCode {
close.go#L101: func (c *Conn) Close(code StatusCode, reason string) error {
close.go#L120: func (c *Conn) closeHandshake(code StatusCode, reason string) (err error) {
close.go#L137: func (c *Conn) writeClose(code StatusCode, reason string) error {
close.go#L222: Code: StatusCode(binary.BigEndian.Uint16(p)),
close.go#L235: func validWireCloseCode(code StatusCode) bool {
stringer.go#L85: func (i StatusCode) String() string {
stringer.go#L87: if i < 0 || i >= StatusCode(len(_StatusCode_index)-1) {
write.go#L394: func (c *Conn) writeError(code StatusCode, err error) {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |