module

LSP::MessageParser

This module is responsible for parsing HTTP like requests from an IO.

Class methods

parse(io : IO, &)

Parses a message (header + contents) from a given IO and yields the contents.

Source
read_header(io : IO) : Header | Nil

Reads a header from the given IO.

Source
read_headers(io : IO) : Array(Header)

Reads the headers from the given IO.

Source

Nested types