Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: HttpResponse Handle(HttpRequest)

Declaration

public HttpResponse Handle(
    HttpRequest req
)

Summary

Handles an HTTP request by delegating it to the appropriate handler according to the request’s URL.

Parameters

HttpRequestreq Incoming HTTP request.

Returns

The HTTP response that was returned by the first applicable mapping.

Remarks

Assign this method to HttpServer.Handler.