public class IncomingMessage extends EventEmitter
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier and Type | Field and Description |
---|---|
Objs.Property<Object> |
headers |
Objs.Property<String> |
httpVersion |
Objs.Property<String> |
method
Only valid for request obtained from http.Server.
|
Objs.Property<String[]> |
rawHeaders |
Objs.Property<Object> |
rawTrailers |
Objs.Property<Socket> |
socket |
Objs.Property<Number> |
statusCode
Only valid for response obtained from http.ClientRequest.
|
Objs.Property<String> |
statusMessage
Only valid for response obtained from http.ClientRequest.
|
Objs.Property<Object> |
trailers |
Objs.Property<String> |
url
Only valid for request obtained from http.Server.
|
defaultMaxListeners, EventEmitter
Modifier | Constructor and Description |
---|---|
protected |
IncomingMessage(Objs.Constructor<?> c,
Object js) |
Modifier and Type | Method and Description |
---|---|
static IncomingMessage |
$as(Object obj) |
String |
httpVersion() |
String |
method() |
String[] |
rawHeaders() |
Timer |
setTimeout(double msecs,
Function callback) |
Socket |
socket() |
Number |
statusCode() |
String |
statusMessage() |
String |
url() |
addListener, defaultMaxListeners, emit, EventEmitter, getMaxListeners, listenerCount, listenerCount, listeners, on, once, removeAllListeners, removeAllListeners, removeListener, setMaxListeners
$as, $cast, $delete, $get, $js, $set, create, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, newObject, newObject, preventExtensions, propertyIsEnumerable, seal, toLocaleString, toString, valueOf
public Objs.Property<String> httpVersion
public Objs.Property<Object> headers
public Objs.Property<String[]> rawHeaders
public Objs.Property<Object> trailers
public Objs.Property<Object> rawTrailers
public Objs.Property<String> method
public Objs.Property<String> url
public Objs.Property<Number> statusCode
public Objs.Property<String> statusMessage
public Objs.Property<Socket> socket
protected IncomingMessage(Objs.Constructor<?> c, Object js)
public static IncomingMessage $as(Object obj)
public String httpVersion()
public String[] rawHeaders()
public String method()
public String url()
public Number statusCode()
public String statusMessage()
public Socket socket()
Copyright © 2018. All rights reserved.