%HTTP_SERVER_DELETE

Free memory for the HTTP or HTTPS server

WSupported on Windows
USupported on Unix
VSupported on OpenVMS

 

status = %HTTP_SERVER_DELETE(instance_id)

status

Always returns 0.

instance_id

The ID of the created instance of a Synergy HTTP or HTTPS server, returned by %HTTP_SERVER_CREATE. (n)

%HTTP_SERVER_DELETE deletes the HTTP or HTTPS server object, releases all memory associated with it, and closes the socket on which the server is listening.

See %HTTP_SERVER_CREATE Examples.