HttpServerElementSpec
Such an element registers a path under the HttpServer's handlers in order to receive media data posted by remote HTTP clients.
- array<HttpServerElementDataSpec> http_data_
- describes data accepted on an HTTP path (see bellow)
Each HttpServerElementDataSpec contains:
- string name_
- Name of the media.
- string path_escaped_
- under which path we should receive this particular media (root based)
- string media_type_
- expected media type to be received (one of: 'aac', 'mp3', 'flv', 'raw')
- optional array<HttpServerElementAccessStruct?> access_data_
- If you want to make this spec accessible only for a set of users, add them here
Each HttpServerElementAccessStruct contains:
- string remote_user_
- user for basic http authentication
- string remote_password_
- password for basic http authentication
