(
&self,
peer: &PublicKey,
)
| 25 | // LSPS0 Implementation |
| 26 | impl<T: Transport> LspsClient<T> { |
| 27 | pub async fn list_protocols( |
| 28 | &self, |
| 29 | peer: &PublicKey, |
| 30 | ) -> Result<JsonRpcResponse<Lsps0listProtocolsResponse>, transport::Error> { |
| 31 | self.transport |
| 32 | .request(peer, &Lsps0listProtocolsRequest {}.into_request()) |
| 33 | .await |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | // LSPS2 Implementation |
no test coverage detected