Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: HttpResponse Handle(HttpRequest, string, Action<string>)

Declaration

public HttpResponse Handle(
    HttpRequest request,
    string loggedInUser,
    Action<string> setUsername
)

Summary

Handles a request.

Parameters

HttpRequestrequest Request to handle.
stringloggedInUser Username of the user currently logged in (typically read from a session).
Action<string>setUsername Action to call when login is successful. Typically used to set the username in a session.