public final class Exports extends Objs
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier and Type | Field and Description |
---|---|
static Objs.Property<Agent> |
globalAgent |
static Objs.Property<String[]> |
METHODS |
static Objs.Property<Objs> |
STATUS_CODES |
Modifier and Type | Method and Description |
---|---|
static Object |
createClient() |
static Object |
createClient(double port) |
static Object |
createClient(double port,
String host) |
static Server |
createServer() |
static Server |
createServer(Function.A2<? super IncomingMessage,? super ServerResponse,? extends Void> requestListener) |
static ClientRequest |
get(Object options) |
static ClientRequest |
get(Object options,
Function.A1<? super IncomingMessage,? extends Void> callback) |
static ClientRequest |
request(RequestOptions options) |
static ClientRequest |
request(RequestOptions options,
Function.A1<? super IncomingMessage,? extends Void> callback) |
$as, $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 static Objs.Property<String[]> METHODS
public static Objs.Property<Objs> STATUS_CODES
public static Objs.Property<Agent> globalAgent
public static Object createClient()
public static Object createClient(double port)
public static Server createServer(Function.A2<? super IncomingMessage,? super ServerResponse,? extends Void> requestListener)
public static Server createServer()
public static ClientRequest get(Object options, Function.A1<? super IncomingMessage,? extends Void> callback)
public static ClientRequest get(Object options)
public static ClientRequest request(RequestOptions options, Function.A1<? super IncomingMessage,? extends Void> callback)
public static ClientRequest request(RequestOptions options)
Copyright © 2018. All rights reserved.