Register-Http-Method - Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

Init SAFs
NOTE
Parameters
free-size
disable
Example
Init fn=pool-init disable=true

register-http-method

Applicable in
This function lets you extend the HTTP protocol by registering new HTTP
methods. (You do not need to register the default HTTP methods.)
Upon accepting a connection, the server checks to see if the method that it received
is known to it. If the server does not recognize the method, it returns a "501 Method
Not Implemented" error message.
Parameters
methods
254
Netscape Enterprise Server NSAPI Programmer's Guide • November 2001
Any memory you allocate from Init-class functions will be allocated
as persistent memory, even if you use
only the memory that is allocated while processing a request, and
because Init-class functions are run before processing any requests,
their memory is allocated globally.
(optional) maximum size in bytes of free block list. May not
be greater than 1048576.
(optional) flag to disable the use of pooled memory. Should
have a value of true or false. Default value is false.
-class directives.
Init
is a comma separated list of the names of the methods you
are registering.
. The server cleans up
MALLOC

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents