HttpResponseEx.authorize

Request a username and password.

Usage:

if (!response.authorize(request,
                        (username, password) => username == "JohnSmith" && password == "hunter2"))
    return conn.serveResponse(response);
class HttpResponseEx
bool
authorize
(,
bool delegate
(
string username
,
string password
)
authenticator
)

Meta