MCPcopy Create free account
hub / github.com/gavv/httpexpect / NotCloseMessage

Method NotCloseMessage

websocket_message.go:127–134  ·  view source on GitHub ↗

NotCloseMessage is a shorthand for m.NotType(websocket.CloseMessage).

()

Source from the content-addressed store, hash-verified

125
126// NotCloseMessage is a shorthand for m.NotType(websocket.CloseMessage).
127func (wm *WebsocketMessage) NotCloseMessage() *WebsocketMessage {
128 opChain := wm.chain.enter("NotCloseMessage()")
129 defer opChain.leave()
130
131 wm.checkNotType(opChain, websocket.CloseMessage)
132
133 return wm
134}
135
136// BinaryMessage is a shorthand for m.Type(websocket.BinaryMessage).
137func (wm *WebsocketMessage) BinaryMessage() *WebsocketMessage {

Callers 1

Calls 3

checkNotTypeMethod · 0.95
enterMethod · 0.80
leaveMethod · 0.80

Tested by 1