Crate water_http

Source

Modules§

http
server
util

Macros§

InitControllersRoot
Initiating Controller Root is very important to detect the max important requirements for building controller struct you need to know that headers_length means that how many headers could the framework read at single request and the reason why we initiate something like that is to provide a good structure for framework and allocating memory in stack instead of heap to provide fast operation which is very importing when dealing with quit high load of traffic and also for security and protecting against headers attackers and the query_length is also the same but it`s works on the incoming request path query and for examples [.com/post?name=hello&description=desc]
RunServer
for running server in appropriate way, and it takes 3 arguments
WaterController
for creating single water controller or capsule for encapsulating objects handlers and routes creating Water Controller is very easy default creating
route
for creating route from given names of each route and also matching provided keys and values given
OSZAR »