Function http_to_peer

Source
pub async fn http_to_peer<T>(
    req: Request<T>,
    self_endpoint: Endpoint,
    remote_node_id52: &str,
    peer_connections: PeerStreamSenders,
    _patch: RequestPatch,
) -> ProxyResult
where T: Body + Unpin + Send, T::Data: Into<Bytes> + Send, T::Error: Error + Send + Sync + 'static,