CodeIgniter v4.6 API

ForceHTTPS
in package
implements FilterInterface

Force HTTPS filter

Table of Contents

Interfaces

FilterInterface
Filter interface

Methods

after()  : ResponseInterface|null
We don't have anything to do here.
before()  : ResponseInterface|null
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|null
Parameters
$request : RequestInterface
$arguments : array<string|int, mixed>|null = null
Return values
ResponseInterface|null

        
On this page

Search results