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

Method IsStreaming

expr/method.go:418–420  ·  view source on GitHub ↗

IsStreaming determines whether the method streams payload or result.

()

Source from the content-addressed store, hash-verified

416
417// IsStreaming determines whether the method streams payload or result.
418func (m *MethodExpr) IsStreaming() bool {
419 return m.IsPayloadStreaming() || m.IsResultStreaming()
420}
421
422// IsPayloadStreaming determines whether the method streams payload.
423func (m *MethodExpr) IsPayloadStreaming() bool {

Callers 15

ValidateMethod · 0.45
validateTransportsMethod · 0.45
prepareJSONRPCRoutesMethod · 0.45
validateJSONRPCRoutesMethod · 0.45
PrepareMethod · 0.45
ValidateMethod · 0.45
ValidateMethod · 0.45
httpStreamingBodyFunction · 0.45
analyzeMethod · 0.45
buildPathFromExprFunction · 0.45
buildOperationFunction · 0.45

Calls 2

IsPayloadStreamingMethod · 0.95
IsResultStreamingMethod · 0.95

Tested by

no test coverage detected