MCPcopy Create free account
hub / github.com/CPChain/chain / TestClientCancelHTTP

Function TestClientCancelHTTP

api/rpc/client_test.go:103–103  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

101// func TestClientCancelInproc(t *testing.T) { testClientCancel("inproc", t) }
102func TestClientCancelWebsocket(t *testing.T) { testClientCancel("ws", t) }
103func TestClientCancelHTTP(t *testing.T) { testClientCancel("http", t) }
104func TestClientCancelIPC(t *testing.T) { testClientCancel("ipc", t) }
105
106// This test checks that requests made through CallContext can be canceled by canceling

Callers

nothing calls this directly

Calls 1

testClientCancelFunction · 0.85

Tested by

no test coverage detected