Livt packages
Livt.Web
Version 1.0.0
Bounded HTTP routing, request parsing, response encoding, and Ethernet application composition for Livt.
Published files (63)
- HttpAllowedMethods.lvt
- HttpApplication.lvt
- HttpApplicationState.lvt
- HttpContentType.lvt
- HttpHeaderName.lvt
- HttpMatchResult.lvt
- HttpMethod.lvt
- HttpNetworkEndpoint.lvt
- HttpNetworkResponse.lvt
- HttpPath.lvt
- HttpPreparation.lvt
- HttpRequestCursor.lvt
- HttpRequestHeaders.lvt
- HttpRequestLine.lvt
- HttpRequestParser.lvt
- HttpRequestResult.lvt
- HttpRequestSyntax.lvt
- HttpResponse.lvt
- HttpResponseEncoder.lvt
- HttpResponseSyntax.lvt
- HttpRouteFallback.lvt
- HttpRouteMethods.lvt
- HttpRouter.lvt
- HttpServer.lvt
- HttpStatus.lvt
- HttpTcpFrame.lvt
- HttpTcpSequence.lvt
- HttpTcpState.lvt
- HttpTcpTransport.lvt
- HttpTransportPayload.lvt
- HttpTransportState.lvt
- HttpVersion.lvt
- IHttpApplication.lvt
- IHttpHandler.lvt
- IHttpRequest.lvt
- IHttpResponse.lvt
- IHttpRoute.lvt
- IHttpRouteMatcher.lvt
- Route.lvt
- RouteChain.lvt
- RouteDispatch.lvt
- RouteSelection.lvt
- StaticContent.lvt
src/http/IHttpHandler.lvt
namespace Livt.Web.Http
using Livt.Net
/**
* Begin once; Poll resumes pending work without repeating accepted actions.
* Prepared may become Failed if publication is lost; only End permits a restart.
* End cancels/completes only after every response reader has stopped.
*/
interface IHttpHandler : IHttpResponse
{
/**
* Starts preparation once for the accepted selection; repeated calls must not
* repeat accepted application actions. Pending work resumes through Poll.
*/
fn Begin() HttpPreparation
/**
* Resumes pending preparation without restarting accepted actions.
* Prepared may become Failed if publication is lost; Failed persists until End.
*/
fn Poll() HttpPreparation
/**
* Requires all response consumers to have stopped. Completes/cancels the handler
* and clears its transaction state; it does not undo accepted application actions.
*/
fn End()
}