class ClientRequest extends Object with StObject
- Annotations
- @JSType() @JSImport("http", "ClientRequest") @native()
- Source
- httpMod.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ClientRequest
- StObject
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ClientRequest(url: java.lang.String, cb: Function1[IncomingMessage, Unit])
- new ClientRequest(url: URL_, cb: Function1[IncomingMessage, Unit])
- new ClientRequest(url: ClientRequestArgs, cb: Function1[IncomingMessage, Unit])
- new ClientRequest(url: java.lang.String)
- new ClientRequest(url: URL_)
- new ClientRequest(url: ClientRequestArgs)
- new ClientRequest()
- Attributes
- protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- var aborted: Boolean
- def addListener(event: Symbol, listener: Function1[Any, Unit]): ClientRequest.this.type
- def addListener(event: java.lang.String, listener: Function1[Any, Unit]): ClientRequest.this.type
- def addListener_abort(event: abort, listener: Function0[Unit]): ClientRequest.this.type
- Annotations
- @JSName("addListener")
- def addListener_close(event: close, listener: Function0[Unit]): ClientRequest.this.type
- Annotations
- @JSName("addListener")
- def addListener_connect(event: connect, listener: Function3[IncomingMessage, Socket, Buffer, Unit]): ClientRequest.this.type
- Annotations
- @JSName("addListener")
- def addListener_continue(event: continue, listener: Function0[Unit]): ClientRequest.this.type
- Annotations
- @JSName("addListener")
- def addListener_drain(event: drain, listener: Function0[Unit]): ClientRequest.this.type
- Annotations
- @JSName("addListener")
- def addListener_error(event: error, listener: Function1[Error, Unit]): ClientRequest.this.type
- Annotations
- @JSName("addListener")
- def addListener_finish(event: finish, listener: Function0[Unit]): ClientRequest.this.type
- Annotations
- @JSName("addListener")
- def addListener_information(event: information, listener: Function1[InformationEvent, Unit]): ClientRequest.this.type
- Annotations
- @JSName("addListener")
- def addListener_pipe(event: pipe, listener: Function1[Readable, Unit]): ClientRequest.this.type
- Annotations
- @JSName("addListener")
- def addListener_response(event: response, listener: Function1[IncomingMessage, Unit]): ClientRequest.this.type
- Annotations
- @JSName("addListener")
- def addListener_socket(event: socket, listener: Function1[Socket, Unit]): ClientRequest.this.type
- Annotations
- @JSName("addListener")
- def addListener_timeout(event: timeout, listener: Function0[Unit]): ClientRequest.this.type
- Annotations
- @JSName("addListener")
- def addListener_unpipe(event: unpipe, listener: Function1[Readable, Unit]): ClientRequest.this.type
- Annotations
- @JSName("addListener")
- def addListener_upgrade(event: upgrade, listener: Function3[IncomingMessage, Socket, Buffer, Unit]): ClientRequest.this.type
- Annotations
- @JSName("addListener")
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def getRawHeaderNames(): Array[java.lang.String]
Returns an array containing the unique names of the current outgoing raw headers.
Returns an array containing the unique names of the current outgoing raw headers. Header names are returned with their exact casing being set.
- def hasOwnProperty(v: scala.Predef.String): Boolean
- Definition Classes
- Object
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- var host: java.lang.String
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- var method: java.lang.String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def on(event: Symbol, listener: Function1[Any, Unit]): ClientRequest.this.type
- def on(event: java.lang.String, listener: Function1[Any, Unit]): ClientRequest.this.type
- def onSocket(socket: Socket): Unit
- def on_abort(event: abort, listener: Function0[Unit]): ClientRequest.this.type
- Annotations
- @JSName("on")
- def on_close(event: close, listener: Function0[Unit]): ClientRequest.this.type
- Annotations
- @JSName("on")
- def on_connect(event: connect, listener: Function3[IncomingMessage, Socket, Buffer, Unit]): ClientRequest.this.type
- Annotations
- @JSName("on")
- def on_continue(event: continue, listener: Function0[Unit]): ClientRequest.this.type
- Annotations
- @JSName("on")
- def on_drain(event: drain, listener: Function0[Unit]): ClientRequest.this.type
- Annotations
- @JSName("on")
- def on_error(event: error, listener: Function1[Error, Unit]): ClientRequest.this.type
- Annotations
- @JSName("on")
- def on_finish(event: finish, listener: Function0[Unit]): ClientRequest.this.type
- Annotations
- @JSName("on")
- def on_information(event: information, listener: Function1[InformationEvent, Unit]): ClientRequest.this.type
- Annotations
- @JSName("on")
- def on_pipe(event: pipe, listener: Function1[Readable, Unit]): ClientRequest.this.type
- Annotations
- @JSName("on")
- def on_response(event: response, listener: Function1[IncomingMessage, Unit]): ClientRequest.this.type
- Annotations
- @JSName("on")
- def on_socket(event: socket, listener: Function1[Socket, Unit]): ClientRequest.this.type
- Annotations
- @JSName("on")
- def on_timeout(event: timeout, listener: Function0[Unit]): ClientRequest.this.type
- Annotations
- @JSName("on")
- def on_unpipe(event: unpipe, listener: Function1[Readable, Unit]): ClientRequest.this.type
- Annotations
- @JSName("on")
- def on_upgrade(event: upgrade, listener: Function3[IncomingMessage, Socket, Buffer, Unit]): ClientRequest.this.type
- Annotations
- @JSName("on")
- def once(event: Symbol, listener: Function1[Any, Unit]): ClientRequest.this.type
- def once(event: java.lang.String, listener: Function1[Any, Unit]): ClientRequest.this.type
- def once_abort(event: abort, listener: Function0[Unit]): ClientRequest.this.type
- Annotations
- @JSName("once")
- def once_close(event: close, listener: Function0[Unit]): ClientRequest.this.type
- Annotations
- @JSName("once")
- def once_connect(event: connect, listener: Function3[IncomingMessage, Socket, Buffer, Unit]): ClientRequest.this.type
- Annotations
- @JSName("once")
- def once_continue(event: continue, listener: Function0[Unit]): ClientRequest.this.type
- Annotations
- @JSName("once")
- def once_drain(event: drain, listener: Function0[Unit]): ClientRequest.this.type
- Annotations
- @JSName("once")
- def once_error(event: error, listener: Function1[Error, Unit]): ClientRequest.this.type
- Annotations
- @JSName("once")
- def once_finish(event: finish, listener: Function0[Unit]): ClientRequest.this.type
- Annotations
- @JSName("once")
- def once_information(event: information, listener: Function1[InformationEvent, Unit]): ClientRequest.this.type
- Annotations
- @JSName("once")
- def once_pipe(event: pipe, listener: Function1[Readable, Unit]): ClientRequest.this.type
- Annotations
- @JSName("once")
- def once_response(event: response, listener: Function1[IncomingMessage, Unit]): ClientRequest.this.type
- Annotations
- @JSName("once")
- def once_socket(event: socket, listener: Function1[Socket, Unit]): ClientRequest.this.type
- Annotations
- @JSName("once")
- def once_timeout(event: timeout, listener: Function0[Unit]): ClientRequest.this.type
- Annotations
- @JSName("once")
- def once_unpipe(event: unpipe, listener: Function1[Readable, Unit]): ClientRequest.this.type
- Annotations
- @JSName("once")
- def once_upgrade(event: upgrade, listener: Function3[IncomingMessage, Socket, Buffer, Unit]): ClientRequest.this.type
- Annotations
- @JSName("once")
- var path: java.lang.String
- def prependListener(event: Symbol, listener: Function1[Any, Unit]): ClientRequest.this.type
- def prependListener(event: java.lang.String, listener: Function1[Any, Unit]): ClientRequest.this.type
- def prependListener_abort(event: abort, listener: Function0[Unit]): ClientRequest.this.type
- Annotations
- @JSName("prependListener")
- def prependListener_close(event: close, listener: Function0[Unit]): ClientRequest.this.type
- Annotations
- @JSName("prependListener")
- def prependListener_connect(event: connect, listener: Function3[IncomingMessage, Socket, Buffer, Unit]): ClientRequest.this.type
- Annotations
- @JSName("prependListener")
- def prependListener_continue(event: continue, listener: Function0[Unit]): ClientRequest.this.type
- Annotations
- @JSName("prependListener")
- def prependListener_drain(event: drain, listener: Function0[Unit]): ClientRequest.this.type
- Annotations
- @JSName("prependListener")
- def prependListener_error(event: error, listener: Function1[Error, Unit]): ClientRequest.this.type
- Annotations
- @JSName("prependListener")
- def prependListener_finish(event: finish, listener: Function0[Unit]): ClientRequest.this.type
- Annotations
- @JSName("prependListener")
- def prependListener_information(event: information, listener: Function1[InformationEvent, Unit]): ClientRequest.this.type
- Annotations
- @JSName("prependListener")
- def prependListener_pipe(event: pipe, listener: Function1[Readable, Unit]): ClientRequest.this.type
- Annotations
- @JSName("prependListener")
- def prependListener_response(event: response, listener: Function1[IncomingMessage, Unit]): ClientRequest.this.type
- Annotations
- @JSName("prependListener")
- def prependListener_socket(event: socket, listener: Function1[Socket, Unit]): ClientRequest.this.type
- Annotations
- @JSName("prependListener")
- def prependListener_timeout(event: timeout, listener: Function0[Unit]): ClientRequest.this.type
- Annotations
- @JSName("prependListener")
- def prependListener_unpipe(event: unpipe, listener: Function1[Readable, Unit]): ClientRequest.this.type
- Annotations
- @JSName("prependListener")
- def prependListener_upgrade(event: upgrade, listener: Function3[IncomingMessage, Socket, Buffer, Unit]): ClientRequest.this.type
- Annotations
- @JSName("prependListener")
- def prependOnceListener(event: Symbol, listener: Function1[Any, Unit]): ClientRequest.this.type
- def prependOnceListener(event: java.lang.String, listener: Function1[Any, Unit]): ClientRequest.this.type
- def prependOnceListener_abort(event: abort, listener: Function0[Unit]): ClientRequest.this.type
- Annotations
- @JSName("prependOnceListener")
- def prependOnceListener_close(event: close, listener: Function0[Unit]): ClientRequest.this.type
- Annotations
- @JSName("prependOnceListener")
- def prependOnceListener_connect(event: connect, listener: Function3[IncomingMessage, Socket, Buffer, Unit]): ClientRequest.this.type
- Annotations
- @JSName("prependOnceListener")
- def prependOnceListener_continue(event: continue, listener: Function0[Unit]): ClientRequest.this.type
- Annotations
- @JSName("prependOnceListener")
- def prependOnceListener_drain(event: drain, listener: Function0[Unit]): ClientRequest.this.type
- Annotations
- @JSName("prependOnceListener")
- def prependOnceListener_error(event: error, listener: Function1[Error, Unit]): ClientRequest.this.type
- Annotations
- @JSName("prependOnceListener")
- def prependOnceListener_finish(event: finish, listener: Function0[Unit]): ClientRequest.this.type
- Annotations
- @JSName("prependOnceListener")
- def prependOnceListener_information(event: information, listener: Function1[InformationEvent, Unit]): ClientRequest.this.type
- Annotations
- @JSName("prependOnceListener")
- def prependOnceListener_pipe(event: pipe, listener: Function1[Readable, Unit]): ClientRequest.this.type
- Annotations
- @JSName("prependOnceListener")
- def prependOnceListener_response(event: response, listener: Function1[IncomingMessage, Unit]): ClientRequest.this.type
- Annotations
- @JSName("prependOnceListener")
- def prependOnceListener_socket(event: socket, listener: Function1[Socket, Unit]): ClientRequest.this.type
- Annotations
- @JSName("prependOnceListener")
- def prependOnceListener_timeout(event: timeout, listener: Function0[Unit]): ClientRequest.this.type
- Annotations
- @JSName("prependOnceListener")
- def prependOnceListener_unpipe(event: unpipe, listener: Function1[Readable, Unit]): ClientRequest.this.type
- Annotations
- @JSName("prependOnceListener")
- def prependOnceListener_upgrade(event: upgrade, listener: Function3[IncomingMessage, Socket, Buffer, Unit]): ClientRequest.this.type
- Annotations
- @JSName("prependOnceListener")
- def propertyIsEnumerable(v: scala.Predef.String): Boolean
- Definition Classes
- Object
- var protocol: java.lang.String
- def setNoDelay(noDelay: Boolean): Unit
- def setNoDelay(): Unit
- def setSocketKeepAlive(enable: Unit, initialDelay: Double): Unit
- def setSocketKeepAlive(enable: Boolean, initialDelay: Double): Unit
- def setSocketKeepAlive(enable: Boolean): Unit
- def setSocketKeepAlive(): Unit
- def setTimeout(timeout: Double, callback: Function0[Unit]): ClientRequest.this.type
- def setTimeout(timeout: Double): ClientRequest.this.type
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toLocaleString(): scala.Predef.String
- Definition Classes
- Object
- def toString(): java.lang.String
- Definition Classes
- AnyRef → Any
- def valueOf(): Any
- Definition Classes
- Object
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])