object httpMod
- Source
- httpMod.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- httpMod
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- class Agent extends Object with StObject
- Annotations
- @JSType() @JSImport("http", "Agent") @native()
- trait AgentOptions extends Object with StObject
- Annotations
- @JSType() @native()
- class ClientRequest extends Object with StObject
- Annotations
- @JSType() @JSImport("http", "ClientRequest") @native()
- trait ClientRequestArgs extends Object with StObject
- Annotations
- @JSType() @native()
- trait HttpBase extends Object with StObject
- Annotations
- @JSType() @native()
- trait IncomingHttpHeaders extends Object with StObject with Dict[|[java.lang.String, Array[java.lang.String]]]
- Annotations
- @JSType() @native()
- class IncomingMessage extends Object with StObject
- Annotations
- @JSType() @JSImport("http", "IncomingMessage") @native()
- trait InformationEvent extends Object with StObject
- Annotations
- @JSType() @native()
- type OutgoingHttpHeader = |[|[Double, java.lang.String], Array[java.lang.String]]
- type OutgoingHttpHeaders = StringDictionary[UndefOr[OutgoingHttpHeader]]
- class OutgoingMessage extends Object with StObject
- Annotations
- @JSType() @JSImport("http", "OutgoingMessage") @native()
- type RequestListener = Function2[IncomingMessage, ServerResponse, Unit]
- type RequestOptions = ClientRequestArgs
- class Server extends Object with StObject with HttpBase
- Annotations
- @JSType() @JSImport("http", "Server") @native()
- trait ServerOptions extends Object with StObject
- Annotations
- @JSType() @native()
- class ServerResponse extends Object with StObject
- Annotations
- @JSType() @JSImport("http", "ServerResponse") @native()
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
- val METHODS: Array[java.lang.String]
- Annotations
- @JSImport("http", "METHODS") @native()
- val ^: Any
- Annotations
- @JSImport("http", JSImport.Namespace) @native()
- 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()
- def createServer(requestListener: RequestListener): Server
- Annotations
- @inline()
- def createServer(options: ServerOptions, requestListener: RequestListener): Server
- Annotations
- @inline()
- def createServer(options: ServerOptions): Server
- Annotations
- @inline()
- def createServer(): Server
- Annotations
- @inline()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def get(url: java.lang.String, options: RequestOptions, callback: Function1[IncomingMessage, Unit]): ClientRequest
- Annotations
- @inline()
- def get(url: java.lang.String, options: RequestOptions): ClientRequest
- Annotations
- @inline()
- def get(url: URL_, options: RequestOptions, callback: Function1[IncomingMessage, Unit]): ClientRequest
- Annotations
- @inline()
- def get(url: URL_, options: RequestOptions): ClientRequest
- Annotations
- @inline()
- def get(options: java.lang.String, callback: Function1[IncomingMessage, Unit]): ClientRequest
- Annotations
- @inline()
- def get(options: java.lang.String): ClientRequest
- Annotations
- @inline()
- def get(options: URL_, callback: Function1[IncomingMessage, Unit]): ClientRequest
- Annotations
- @inline()
- def get(options: URL_): ClientRequest
- Annotations
- @inline()
- def get(options: RequestOptions, callback: Function1[IncomingMessage, Unit]): ClientRequest
- Annotations
- @inline()
- def get(options: RequestOptions): ClientRequest
- Annotations
- @inline()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def globalAgent: Agent
- Annotations
- @JSImport("http", "globalAgent") @native()
- def globalAgent_=(x: Agent): Unit
- Annotations
- @inline()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val maxHeaderSize: Double
Read-only property specifying the maximum allowed size of HTTP headers in bytes.
Read-only property specifying the maximum allowed size of HTTP headers in bytes. Defaults to 16KB. Configurable using the
--max-http-header-sizeCLI option.- Annotations
- @JSImport("http", "maxHeaderSize") @native()
- 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 request(url: java.lang.String, options: RequestOptions, callback: Function1[IncomingMessage, Unit]): ClientRequest
- Annotations
- @inline()
- def request(url: java.lang.String, options: RequestOptions): ClientRequest
- Annotations
- @inline()
- def request(url: URL_, options: RequestOptions, callback: Function1[IncomingMessage, Unit]): ClientRequest
- Annotations
- @inline()
- def request(url: URL_, options: RequestOptions): ClientRequest
- Annotations
- @inline()
- def request(options: java.lang.String, callback: Function1[IncomingMessage, Unit]): ClientRequest
- Annotations
- @inline()
- def request(options: java.lang.String): ClientRequest
- Annotations
- @inline()
- def request(options: URL_, callback: Function1[IncomingMessage, Unit]): ClientRequest
- Annotations
- @inline()
- def request(options: URL_): ClientRequest
- Annotations
- @inline()
- def request(options: RequestOptions, callback: Function1[IncomingMessage, Unit]): ClientRequest
- Annotations
- @inline()
- def request(options: RequestOptions): ClientRequest
- Annotations
- @inline()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): java.lang.String
- Definition Classes
- AnyRef → Any
- def urlToHttpOptions(url: URL_): ClientRequestArgs
This utility function converts a URL object into an ordinary options object as expected by the
http.request()andhttps.request()APIs.This utility function converts a URL object into an ordinary options object as expected by the
http.request()andhttps.request()APIs.- Annotations
- @inline()
- 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])
- object AgentOptions
- object ClientRequestArgs
- object IncomingHttpHeaders
- object InformationEvent
- object ServerOptions
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated