Hexagon is a microservices toolkit written in Kotlin. Its purpose is to ease the building of services (Web applications or APIs) that run inside a cloud platform.
Add getCookie(name: String) and requireCookie(name: String)
Make HTTP body a class on its own (I.e.: to handle parts) it could have something like:
body.parts
body.formParameters
body.isMultipart
HttpField may have different values separated by ';'
Handlers can have a 'parent' handler that eases HTTP implementations
Special Headers (like accept and content-type) can be modeled as classes and handled as
normal headers instead being passed on methods aside of other headers
Make HTTP model mutable and change functions by consumers
Move Exception handler to 'handlers' and 'handlers_coroutines'
getCookie(name: String)
andrequireCookie(name: String)
body.parts
body.formParameters
body.isMultipart
accept
andcontent-type
) can be modeled as classes and handled as normal headers instead being passed on methods aside of other headers