MCPcopy Create free account
hub / github.com/imroc/req / Close

Method Close

internal/http3/state_tracking_stream.go:85–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83}
84
85func (s *stateTrackingStream) Close() error {
86 s.closeSend(errors.New("write on closed stream"))
87 return s.Stream.Close()
88}
89
90func (s *stateTrackingStream) CancelWrite(e quic.StreamErrorCode) {
91 s.closeSend(&quic.StreamError{StreamID: s.StreamID(), ErrorCode: e})

Callers

nothing calls this directly

Calls 1

closeSendMethod · 0.95

Tested by

no test coverage detected