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

Method Send

interceptor_ext_test.go:841–847  ·  view source on GitHub ↗
(msg any)

Source from the content-addressed store, hash-verified

839}
840
841func (cc *headerInspectingClientConn) Send(msg any) error {
842 if !cc.inspectedRequest {
843 cc.inspectRequestHeader(cc.Spec(), cc.RequestHeader())
844 cc.inspectedRequest = true
845 }
846 return cc.StreamingClientConn.Send(msg)
847}
848
849func (cc *headerInspectingClientConn) Receive(msg any) error {
850 err := cc.StreamingClientConn.Receive(msg)

Callers

nothing calls this directly

Calls 3

SpecMethod · 0.65
RequestHeaderMethod · 0.65
SendMethod · 0.65

Tested by

no test coverage detected