Skip to main content

handle_request_stream_error

Function handle_request_stream_error 

Source
async fn handle_request_stream_error(
    sender_id: Option<PusherId>,
    tx: &Sender<Result<HeartbeatResponse, Status>>,
    err: Status,
) -> bool
Expand description

Handles request stream error by logging and forwarding the error to the client if possible.

Returns false if the stream should be terminated.