MCPcopy
hub / github.com/gofiber/fiber / IsStreaming

Method IsStreaming

client/response.go:104–106  ·  view source on GitHub ↗

IsStreaming returns true if the response body is being streamed.

()

Source from the content-addressed store, hash-verified

102
103// IsStreaming returns true if the response body is being streamed.
104func (r *Response) IsStreaming() bool {
105 return r.RawResponse.BodyStream() != nil
106}
107
108// String returns the response body as a trimmed string.
109func (r *Response) String() string {

Callers 2

Calls 1

BodyStreamMethod · 0.80

Tested by 2