Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
httpd_custom_api(3)	   Erlang Module Definition	   httpd_custom_api(3)

NAME
       httpd_custom_api	 -  Behaviour with optional callbacks to customize the
       inets HTTP server.

DESCRIPTION
       The module implementing this behaviour shall  be	 supplied  to  to  the
       servers configuration with the option  customize

EXPORTS
       response_default_headers() -> [Header]

	      Types:

		 Header	= {HeaderName :: string(), HeaderValue::string()}
		   string:to_lower/1 will be performed on the HeaderName

	      Provide  default	headers	 for  the HTTP servers responses. Note
	      that this	option may override built-in defaults.

       response_header({HeaderName, HeaderValue}) -> {true, Header} | false

	      Types:

		 Header	= {HeaderName :: string(), HeaderValue::string()}
		   The header name will	be in lower case and should not	be al-
		   tered.

	      Filter  and possible alter HTTP response headers before they are
	      sent to the client.

       request_header({HeaderName, HeaderValue}) -> {true, Header} | false

	      Types:

		 Header	= {HeaderName :: string(), HeaderValue::string()}
		   The header name will	be in lower case and should not	be al-
		   tered.

	      Filter  and  possible alter HTTP request headers before they are
	      processed	by the server.

Ericsson AB			  inets	7.0.6		   httpd_custom_api(3)

NAME | DESCRIPTION | EXPORTS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=httpd_custom_api&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help