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