hasMixedJSONRPCTransports returns true if the service has both HTTP and SSE JSON-RPC endpoints.
(svc *expr.HTTPServiceExpr, data *httpcodegen.ServicesData)
| 197 | |
| 198 | // hasMixedJSONRPCTransports returns true if the service has both HTTP and SSE JSON-RPC endpoints. |
| 199 | func hasMixedJSONRPCTransports(svc *expr.HTTPServiceExpr, data *httpcodegen.ServicesData) bool { |
| 200 | return hasJSONRPCHTTP(svc) && hasJSONRPCSSE(svc, data) |
| 201 | } |
no test coverage detected