MCPcopy Create free account
hub / github.com/goadesign/goa / IsResultStreaming

Method IsResultStreaming

expr/method.go:428–430  ·  view source on GitHub ↗

IsResultStreaming determines whether the method streams payload.

()

Source from the content-addressed store, hash-verified

426
427// IsResultStreaming determines whether the method streams payload.
428func (m *MethodExpr) IsResultStreaming() bool {
429 return m.Stream == ServerStreamKind || m.Stream == BidirectionalStreamKind
430}
431
432// HasMixedResults returns true if the method has both Result and StreamingResult
433// defined with different types, indicating support for content negotiation.

Callers 3

IsStreamingMethod · 0.95
ValidateMethod · 0.80
validateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected