public interface HttpServerContainer
| Modifier and Type | Method and Description |
|---|---|
HttpServerAdapter |
newServer(NodeScript script,
HttpServerStub stub)
When a new HTTP server is registered, the JavaScript runtime calls this method on the container
to notify it that there is a need to listen on a new HTTP interface.
|
HttpServerAdapter newServer(NodeScript script, HttpServerStub stub)
script - the script that asked for the new server. Users may set an attachment object
on the script to convey additional information.stub - the object that must be notified of new HTTP requests.Copyright © 2016 Apigee Corporation. All Rights Reserved.