Kernel::WebApp::Controller::API::Role::ProvidesRequestedHost

NAME

Kernel::WebApp::Controller::API::Role::ProvidesRequestedHost – Provides a new helper method to get original host requested by the client.

PUBLIC INTERFACE

Consume this role to be able to get the original host requested by the client.

RequestedHost()

Returns the original host requested by the client.

RequestedHostWithPort()

Returns the original host requested by the client with port (if any).

PRIVATE INTERFACE

_RequestedHost

Returns the original host requested by the client (includes port).

Scroll to Top