libgpac
Documentation of the core library of GPAC
|
JSHTTPServer API. More...
import"httpout.idl";
Public Member Functions | |
attribute void | on_request (JSHTTPRequest req) |
The JSHTTPServer interface has a single instance exposed to the script under the name "httpout". It implements callbacks from the HTTP server . The object can also be bound to a running filter using JSFSFilter.bind
attribute void JSHTTPServer::on_request | ( | JSHTTPRequest | req | ) |
indicate a new request is being processed
The request is pending until the send method is used (can be asynchronous)
req | the request being processed |