forked from LeenkxTeam/LNXSDK
Update
This commit is contained in:
@ -31,7 +31,7 @@ import js.node.stream.Writable;
|
||||
/**
|
||||
Enumeration of events emitted by `ClientRequest`
|
||||
**/
|
||||
@:enum abstract ClientRequestEvent<T:haxe.Constraints.Function>(Event<T>) to Event<T> {
|
||||
enum abstract ClientRequestEvent<T:haxe.Constraints.Function>(Event<T>) to Event<T> {
|
||||
/**
|
||||
Emitted when the request has been aborted by the client.
|
||||
This event is only emitted on the first call to `abort()`.
|
||||
|
||||
@ -35,7 +35,7 @@ import js.Error;
|
||||
/**
|
||||
Enumeration of events emitted by the `IncomingMessage` objects in addition to its parent class events.
|
||||
**/
|
||||
@:enum abstract IncomingMessageeEvent<T:haxe.Constraints.Function>(Event<T>) to Event<T> {
|
||||
enum abstract IncomingMessageeEvent<T:haxe.Constraints.Function>(Event<T>) to Event<T> {
|
||||
/**
|
||||
Emitted when the request has been aborted.
|
||||
**/
|
||||
|
||||
@ -26,7 +26,7 @@ package js.node.http;
|
||||
Enumeration of possible HTTP methods as described in
|
||||
http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html
|
||||
**/
|
||||
@:enum abstract Method(String) from String to String {
|
||||
enum abstract Method(String) from String to String {
|
||||
var Acl = "ACL";
|
||||
var Bind = "BIND";
|
||||
var Checkout = "CHECKOUT";
|
||||
|
||||
@ -35,7 +35,7 @@ import js.Error;
|
||||
Enumeration of events emitted by `http.Server` class in addition to
|
||||
its parent `net.Server` class.
|
||||
**/
|
||||
@:enum abstract ServerEvent<T:haxe.Constraints.Function>(Event<T>) to Event<T> {
|
||||
enum abstract ServerEvent<T:haxe.Constraints.Function>(Event<T>) to Event<T> {
|
||||
/**
|
||||
Emitted each time a request with an HTTP Expect: `100-continue` is received.
|
||||
If this event is not listened for, the server will automatically respond with a `100 Continue` as appropriate.
|
||||
|
||||
@ -30,7 +30,7 @@ import js.node.stream.Writable;
|
||||
/**
|
||||
Enumeration of events emitted by the `ServerResponse` objects in addition to its parent class events.
|
||||
**/
|
||||
@:enum abstract ServerResponseEvent<T:haxe.Constraints.Function>(Event<T>) to Event<T> {
|
||||
enum abstract ServerResponseEvent<T:haxe.Constraints.Function>(Event<T>) to Event<T> {
|
||||
/**
|
||||
Indicates that the underlying connection was terminated.
|
||||
**/
|
||||
|
||||
Reference in New Issue
Block a user