libgpac
Documentation of the core library of GPAC
|
JavaScript API for httpout filter. More...
Data Structures | |
interface | JSHTTPServer |
JSHTTPServer API. More... | |
interface | JSHTTPRequest |
JSHTTPRequest API. More... | |
interface | JSHTTPHeader |
JSHTTPHeader Object. More... | |
Variables | |
attribute JSHTTPServer | httpout |
This section documents the JavaScript API available for implementing your own logic in GPAC HTTP server.
The logic is enabled using the option js
option of the httpout filter :
The loaded JavaScript context has all JS modules available in GPAC, except WebGL.
It is also possible to bind the logic from a JSFilterSession using JSFSFilter.bind
interface JSHTTPHeader |
The JSHTTPHeader object provides a description of a n HTTP header.
Data Fields | ||
---|---|---|
attribute readonly DOMString | name |
header name |
attribute readonly DOMString | value |
header value |
attribute JSHTTPServer httpout |
global context property representing the one and only JSHTTPServer object attached to the loaded script