Skip to main content

handle_connection

Function handle_connection 

Source
async fn handle_connection<Client>(
    stream: TcpStream,
    peer: SocketAddr,
    fhir_client: Arc<Client>,
    config: Arc<ReceiverConfig>,
)
where Client: FHIRClient<(), OperationOutcomeError> + Send + Sync + 'static,
Expand description

Serves one sender until it disconnects, idles out, or breaks framing.