MCPcopy
hub / github.com/connectrpc/connect-go / Receive

Method Receive

interceptor_ext_test.go:849–856  ·  view source on GitHub ↗
(msg any)

Source from the content-addressed store, hash-verified

847}
848
849func (cc *headerInspectingClientConn) Receive(msg any) error {
850 err := cc.StreamingClientConn.Receive(msg)
851 if !cc.inspectedResponse {
852 cc.inspectResponseHeader(cc.Spec(), cc.ResponseHeader())
853 cc.inspectedResponse = true
854 }
855 return err
856}
857
858type httpMethodChecker struct {
859 client bool

Callers

nothing calls this directly

Calls 3

ReceiveMethod · 0.65
SpecMethod · 0.65
ResponseHeaderMethod · 0.65

Tested by

no test coverage detected