ICanBoogie/HTTP v2.6.0
  • Namespace
  • Class

Namespaces

  • ICanBoogie
    • Exception
    • HTTP
      • Headers
      • Request
      • RequestDispatcher

Classes

  • CallableDispatcher
  • DispatcherProvider
  • File
  • FileInfo
  • FileList
  • FileResponse
  • Headers
  • ProvideDispatcher
  • RedirectResponse
  • Request
  • RequestDispatcher
  • RequestOptionsMapper
  • RequestRange
  • Response
  • Status
  • WeightedDispatcher

Interfaces

  • Dispatcher
  • Exception
  • FileOptions
  • RequestMethods
  • RequestOptions
  • ResponseStatus
  • SecurityError

Exceptions

  • AuthenticationRequired
  • ClientError
  • DispatcherNotDefined
  • DispatcherProviderNotDefined
  • ForceRedirect
  • MethodNotSupported
  • NotFound
  • PermissionRequired
  • ServerError
  • ServiceUnavailable
  • StatusCodeNotValid

Functions

  • dispatch
  • get_dispatcher
  • get_initial_request

Interface Dispatcher

Dispatcher interface.

Direct known implementers

ICanBoogie\HTTP\CallableDispatcher, ICanBoogie\HTTP\RequestDispatcher

Namespace: ICanBoogie\HTTP
Located at Dispatcher.php

Methods summary

public ICanBoogie\HTTP\Response
# __invoke( ICanBoogie\HTTP\Request $request )

Process the request.

Process the request.

Parameters

$request

Returns

ICanBoogie\HTTP\Response
A response to the request.
public ICanBoogie\HTTP\Response
# rescue( ICanBoogie\HTTP\Exception $exception, ICanBoogie\HTTP\Request $request )

Rescues the exception that was thrown during the request process.

Rescues the exception that was thrown during the request process.

Parameters

$exception
$request

Returns

ICanBoogie\HTTP\Response
A response to the request exception.

Throws

Exception
when the request exception cannot be rescued.
ICanBoogie/HTTP v2.6.0 API documentation generated by ApiGen