croky library

Classes

FilePart
presenting file data and bytes stream
FileStreamResponse
ResponseWriter type to send file stream response
FormData
multipart/form-data and application/x-www-form-urlencoded content data
HtmlResponse
ResponseWriter type to send html response
JsonResponse
ResponseWriter type to send json response
MethodPrepare
PathPrepare
Pipeline
QueryParameters
request query parameters helper that can help you get data easily
RedirectResponse
ResponseWriter type to redirect the user
Request
Response
ResponseWriter
response manipulator/writer to help developers write responses faster.
Router
StreamResponse
ResponseWriter type to send streamed data response
TextResponse
ResponseWriter type to send plain text response

Extensions

RespWriter on Response

Functions

startServer(Pipeline pipeline, Router router) → dynamic

Typedefs

ErrHandler = dynamic Function(Request req, Response resp, HTTPException e)
prefiusly called NextErrHandler
ErrMiddleware = dynamic Function(Request req, Response resp, HTTPException e, ErrHandler next)
prefiusly called ErrMiddlewareHandler
Handler = dynamic Function(Request req, Response resp)
prefiusly called NextHandler
Middleware = dynamic Function(Request req, Response resp, Handler next)
prefiusly called MiddlewareHandler
Req = Request
Resp = Response