[][src]Function ttrpc::response_to_channel

pub fn response_to_channel(
    stream_id: u32,
    res: Response,
    tx: Sender<(MessageHeader, Vec<u8>)>
) -> Result<()>

Response message through a channel. Eventually the message will sent to Client.