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

Method ReadMessage

websocket.go:19–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17// WebsocketConn is used by Websocket to communicate with actual WebSocket connection.
18type WebsocketConn interface {
19 ReadMessage() (messageType int, p []byte, err error)
20 WriteMessage(messageType int, data []byte) error
21 Close() error
22 SetReadDeadline(t time.Time) error

Callers 5

readMessageMethod · 0.65
WsHTTPHandlerFunction · 0.65
WsFastHTTPHandlerFunction · 0.65
createWebsocketHandlerFunction · 0.65
websocketFastHandlerFunction · 0.65

Implementers 1

mockWebsocketConnmocks_test.go

Calls

no outgoing calls

Tested by 2

createWebsocketHandlerFunction · 0.52
websocketFastHandlerFunction · 0.52