MCPcopy Create free account
hub / github.com/dank/rlapi / SetResponse

Method SetResponse

psynetrpc_test.go:50–53  ·  view source on GitHub ↗
(requestID string, response *PsyResponse)

Source from the content-addressed store, hash-verified

48}
49
50func (m *MockWSServer) SetResponse(requestID string, response *PsyResponse) {
51 response.ResponseID = requestID
52 m.responses[requestID] = response
53}
54
55func (m *MockWSServer) SetPongResponse(respond bool) {
56 m.pongResponse = respond

Calls

no outgoing calls

Tested by

no test coverage detected