MCPcopy
hub / github.com/gobwas/ws / RejectOption

FuncType RejectOption

errors.go:5–5  ·  view source on GitHub ↗

RejectOption represents an option used to control the way connection is rejected.

func(*ConnectionRejectedError)

Source from the content-addressed store, hash-verified

3// RejectOption represents an option used to control the way connection is
4// rejected.
5type RejectOption func(*ConnectionRejectedError)
6
7// RejectionReason returns an option that makes connection to be rejected with
8// given reason.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…