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

Method IsPayloadStreaming

expr/method.go:423–425  ·  view source on GitHub ↗

IsPayloadStreaming determines whether the method streams payload.

()

Source from the content-addressed store, hash-verified

421
422// IsPayloadStreaming determines whether the method streams payload.
423func (m *MethodExpr) IsPayloadStreaming() bool {
424 return m.Stream == ClientStreamKind || m.Stream == BidirectionalStreamKind
425}
426
427// IsResultStreaming determines whether the method streams payload.
428func (m *MethodExpr) IsResultStreaming() bool {

Callers 7

IsStreamingMethod · 0.95
ValidateMethod · 0.80
FinalizeMethod · 0.80
validateMethod · 0.80
usesStreamEnvelopeFunction · 0.80

Calls

no outgoing calls

Tested by 1