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

Method WriteMessage

websocket.go:20–20  ·  view source on GitHub ↗
(messageType int, data []byte)

Source from the content-addressed store, hash-verified

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
23 SetWriteDeadline(t time.Time) error

Callers 8

writeMessageMethod · 0.65
WsHTTPHandlerFunction · 0.65
WsFastHTTPHandlerFunction · 0.65
createWebsocketHandlerFunction · 0.65
websocketFastHandlerFunction · 0.65
testWebsocketTypesFunction · 0.65

Implementers 1

mockWebsocketConnmocks_test.go

Calls

no outgoing calls

Tested by 5

createWebsocketHandlerFunction · 0.52
websocketFastHandlerFunction · 0.52
testWebsocketTypesFunction · 0.52