object nodeHttpMod
- Source
- nodeHttpMod.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- nodeHttpMod
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- class Agent extends httpMod.Agent
- Annotations
- @JSType() @JSImport("node:http", "Agent") @native()
- class ClientRequest extends Object with StObject
- Annotations
- @JSType() @JSImport("node:http", "ClientRequest") @native()
- class IncomingMessage extends Object with StObject
- Annotations
- @JSType() @JSImport("node:http", "IncomingMessage") @native()
- class OutgoingMessage extends Object with StObject
- Annotations
- @JSType() @JSImport("node:http", "OutgoingMessage") @native()
- class Server extends Object with StObject
- Annotations
- @JSType() @JSImport("node:http", "Server") @native()
- class ServerResponse extends Object with StObject
- Annotations
- @JSType() @JSImport("node: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("node:http", "METHODS") @native()
- val ^: Any
- Annotations
- @JSImport("node: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): httpMod.Server
- Annotations
- @inline()
- def createServer(options: ServerOptions, requestListener: RequestListener): httpMod.Server
- Annotations
- @inline()
- def createServer(options: ServerOptions): httpMod.Server
- Annotations
- @inline()
- def createServer(): httpMod.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[httpMod.IncomingMessage, Unit]): httpMod.ClientRequest
- Annotations
- @inline()
- def get(url: java.lang.String, options: RequestOptions): httpMod.ClientRequest
- Annotations
- @inline()
- def get(url: URL_, options: RequestOptions, callback: Function1[httpMod.IncomingMessage, Unit]): httpMod.ClientRequest
- Annotations
- @inline()
- def get(url: URL_, options: RequestOptions): httpMod.ClientRequest
- Annotations
- @inline()
- def get(options: java.lang.String, callback: Function1[httpMod.IncomingMessage, Unit]): httpMod.ClientRequest
- Annotations
- @inline()
- def get(options: java.lang.String): httpMod.ClientRequest
- Annotations
- @inline()
- def get(options: URL_, callback: Function1[httpMod.IncomingMessage, Unit]): httpMod.ClientRequest
- Annotations
- @inline()
- def get(options: URL_): httpMod.ClientRequest
- Annotations
- @inline()
- def get(options: RequestOptions, callback: Function1[httpMod.IncomingMessage, Unit]): httpMod.ClientRequest
- Annotations
- @inline()
- def get(options: RequestOptions): httpMod.ClientRequest
- Annotations
- @inline()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def globalAgent: httpMod.Agent
- Annotations
- @JSImport("node:http", "globalAgent") @native()
- def globalAgent_=(x: httpMod.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("node: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[httpMod.IncomingMessage, Unit]): httpMod.ClientRequest
- Annotations
- @inline()
- def request(url: java.lang.String, options: RequestOptions): httpMod.ClientRequest
- Annotations
- @inline()
- def request(url: URL_, options: RequestOptions, callback: Function1[httpMod.IncomingMessage, Unit]): httpMod.ClientRequest
- Annotations
- @inline()
- def request(url: URL_, options: RequestOptions): httpMod.ClientRequest
- Annotations
- @inline()
- def request(options: java.lang.String, callback: Function1[httpMod.IncomingMessage, Unit]): httpMod.ClientRequest
- Annotations
- @inline()
- def request(options: java.lang.String): httpMod.ClientRequest
- Annotations
- @inline()
- def request(options: URL_, callback: Function1[httpMod.IncomingMessage, Unit]): httpMod.ClientRequest
- Annotations
- @inline()
- def request(options: URL_): httpMod.ClientRequest
- Annotations
- @inline()
- def request(options: RequestOptions, callback: Function1[httpMod.IncomingMessage, Unit]): httpMod.ClientRequest
- Annotations
- @inline()
- def request(options: RequestOptions): httpMod.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])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated