(request: HttpClientRequest.HttpClientRequest)
| 147 | }; |
| 148 | |
| 149 | const clientRpcOf = (request: HttpClientRequest.HttpClientRequest): JsonRpcRequest | undefined => |
| 150 | Predicate.isTagged(request.body, "Uint8Array") |
| 151 | ? Option.getOrUndefined(decodeJsonRpcRequest(new TextDecoder().decode(request.body.body))) |
| 152 | : undefined; |
| 153 | |
| 154 | /** Streamable-http fixture for the post-handshake auth wall: the handshake |
| 155 | * methods succeed and `tools/list` answers 401 for the first |
no test coverage detected