Skip to main content

read_message

Function read_message 

Source
pub async fn read_message<R: AsyncBufRead + Unpin>(
    reader: &mut R,
) -> Result<String, Error>
Expand description

Read a DAP message from the stream

Parses the Content-Length header and reads the JSON body