vsgi-0.3
Description:
Middleware that interfaces various Web server technologies
Content:
Namespaces:
- VSGI - VSGI is an set of abstraction and implementations used to build generic web application in Vala.
- Application - Cushion around VSGI.Server.
- Authentication - Hold the necessary state to challenge and emit authentication headers.
- Authorization - Hold the state of an 'Authorization' header and provide means to challenge it against a password.
- BasicAuthentication - Parse and generate basic authentication headers according to RFC 7617.
- BasicAuthorization - Hold the state of a basic 'Authorization' header.
- BoundedInputStream - Bounded input stream that provide a end-of-file behaviour when a a certain number of bytes has been read from the base stream.
- Connection - Connection available from VSGI.Request holding raw streams.
- Handler
- HandlerModule - Load custom VSGI.Handler implementations.
- Request - Request representing a request of a resource.
- Response - Response representing a request resource.
- Server - Server that feeds a VSGI.Handler with incoming requests.
- ServerModule - Load custom VSGI.Server implementations.
- SocketServer - Base for implementing a server upon GLib.SocketService.
- TeeOutputStream - Pipe data into a base and a tee streams, similarly to the UNIX 'tee' utility.
- public delegate Type HandlerInitFunc (TypeModule type_module)
- public delegate Type ServerInitFunc (TypeModule module)
- CGI - CGI implementation of VSGI.
- Request - CGI request providing consistent environment behaviours.
- Response - CGI response producing expected headers format.
- CookieUtils - Cookie-related utilities.
- public void sign (Cookie cookie, ChecksumType checksum_type, uint8[] key)
Sign the provided cookie name and value in-place using HMAC.
- public bool verify (Cookie cookie, ChecksumType checksum_type, uint8[] key, out string? value)
Verify a signed cookie from VSGI.CookieUtils.sign.
- Mock - Mock implementation of VSGI used for testing purposes.
- Connection - Stubbed connection with in- memory streams.
- Request - Test implementation of Request used to stub a request.
- Response - Test implementation of VSGI.Response to stub a response.
- Server