IsWebSocketEndpoint returns true if the endpoint defines a streaming payload or result.
(ed *EndpointData)
| 461 | // IsWebSocketEndpoint returns true if the endpoint defines a streaming payload |
| 462 | // or result. |
| 463 | func IsWebSocketEndpoint(ed *EndpointData) bool { |
| 464 | return ed.ServerWebSocket != nil || ed.ClientWebSocket != nil |
| 465 | } |
no outgoing calls
no test coverage detected