Cowlib Function Reference


cowlib - Support library for manipulating Web protocols


Cowlib provides libraries for parsing and building messages for various Web protocols, including HTTP/1.1, HTTP/2 and Websocket.

It is optimized for completeness rather than speed. No value is ignored, they are all returned.



  • crypto - Crypto functions

All these applications must be started before the cowlib application. To start Cowlib and all dependencies at once:

{ok, _} = application:ensure_all_started(cowlib).


The cowlib application does not define any application environment configuration parameters.

See also

cowboy(7), gun(7)

Cowlib 2.13 Function Reference


Version select

Like my work? Donate!

Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and is fantastic:

Recurring payment options are also available via GitHub Sponsors. These funds are used to cover the recurring expenses like food, dedicated servers or domain names.