module LSP::MessageParser
Overview
This module is responsible for parsing HTTP like requests from an IO.
Extended Modules
Defined in:
lsp/message_parser.crClass Method Summary
-
.parse(io : IO, &)
Parses a message (header + contents) from a given IO and yields the contents.
-
.read_header(io : IO) : Header | Nil
Reads a header from the given IO.
-
.read_headers(io : IO) : Array(Header)
Reads the headers from the given IO.
Class Method Detail
def self.parse(io : IO, &)
#
Parses a message (header + contents) from a given IO and yields the contents.