IsResultStreaming determines whether the method streams payload.
()
| 426 | |
| 427 | // IsResultStreaming determines whether the method streams payload. |
| 428 | func (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. |
no outgoing calls
no test coverage detected