CodeIgniter v4.5 API

ForceHTTPS
in package
implements FilterInterface

Force HTTPS filter

Table of Contents

Interfaces

FilterInterface
Filter interface

Methods

after()  : void
We don't have anything to do here.
before()  : ResponseInterface|void
Force Secure Site Access? If the config value 'forceGlobalSecureRequests' is true, will enforce that all requests to this site are made through HTTPS. Will redirect the user to the current page with HTTPS, as well as set the HTTP Strict Transport Security (HSTS) header for those browsers that support it.

Methods

before()

Force Secure Site Access? If the config value 'forceGlobalSecureRequests' is true, will enforce that all requests to this site are made through HTTPS. Will redirect the user to the current page with HTTPS, as well as set the HTTP Strict Transport Security (HSTS) header for those browsers that support it.

public before(RequestInterface $request[, array<string|int, mixed>|null $arguments = null ]) : ResponseInterface|void
Parameters
$request : RequestInterface
$arguments : array<string|int, mixed>|null = null
Return values
ResponseInterface|void

        
On this page

Search results