Packages

object httpMod

Source
httpMod.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. httpMod
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. class Agent extends Object with StObject
    Annotations
    @JSType() @JSImport("http", "Agent") @native()
  2. trait AgentOptions extends Object with StObject
    Annotations
    @JSType() @native()
  3. class ClientRequest extends Object with StObject
    Annotations
    @JSType() @JSImport("http", "ClientRequest") @native()
  4. trait ClientRequestArgs extends Object with StObject
    Annotations
    @JSType() @native()
  5. trait HttpBase extends Object with StObject
    Annotations
    @JSType() @native()
  6. trait IncomingHttpHeaders extends Object with StObject with Dict[|[java.lang.String, Array[java.lang.String]]]
    Annotations
    @JSType() @native()
  7. class IncomingMessage extends Object with StObject
    Annotations
    @JSType() @JSImport("http", "IncomingMessage") @native()
  8. trait InformationEvent extends Object with StObject
    Annotations
    @JSType() @native()
  9. type OutgoingHttpHeader = |[|[Double, java.lang.String], Array[java.lang.String]]
  10. type OutgoingHttpHeaders = StringDictionary[UndefOr[OutgoingHttpHeader]]
  11. class OutgoingMessage extends Object with StObject
    Annotations
    @JSType() @JSImport("http", "OutgoingMessage") @native()
  12. type RequestListener = Function2[IncomingMessage, ServerResponse, Unit]
  13. type RequestOptions = ClientRequestArgs
  14. class Server extends Object with StObject with HttpBase
    Annotations
    @JSType() @JSImport("http", "Server") @native()
  15. trait ServerOptions extends Object with StObject
    Annotations
    @JSType() @native()
  16. class ServerResponse extends Object with StObject
    Annotations
    @JSType() @JSImport("http", "ServerResponse") @native()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val METHODS: Array[java.lang.String]
    Annotations
    @JSImport("http", "METHODS") @native()
  5. val ^: Any
    Annotations
    @JSImport("http", JSImport.Namespace) @native()
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  8. def createServer(requestListener: RequestListener): Server
    Annotations
    @inline()
  9. def createServer(options: ServerOptions, requestListener: RequestListener): Server
    Annotations
    @inline()
  10. def createServer(options: ServerOptions): Server
    Annotations
    @inline()
  11. def createServer(): Server
    Annotations
    @inline()
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def get(url: java.lang.String, options: RequestOptions, callback: Function1[IncomingMessage, Unit]): ClientRequest
    Annotations
    @inline()
  15. def get(url: java.lang.String, options: RequestOptions): ClientRequest
    Annotations
    @inline()
  16. def get(url: URL_, options: RequestOptions, callback: Function1[IncomingMessage, Unit]): ClientRequest
    Annotations
    @inline()
  17. def get(url: URL_, options: RequestOptions): ClientRequest
    Annotations
    @inline()
  18. def get(options: java.lang.String, callback: Function1[IncomingMessage, Unit]): ClientRequest
    Annotations
    @inline()
  19. def get(options: java.lang.String): ClientRequest
    Annotations
    @inline()
  20. def get(options: URL_, callback: Function1[IncomingMessage, Unit]): ClientRequest
    Annotations
    @inline()
  21. def get(options: URL_): ClientRequest
    Annotations
    @inline()
  22. def get(options: RequestOptions, callback: Function1[IncomingMessage, Unit]): ClientRequest
    Annotations
    @inline()
  23. def get(options: RequestOptions): ClientRequest
    Annotations
    @inline()
  24. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  25. def globalAgent: Agent
    Annotations
    @JSImport("http", "globalAgent") @native()
  26. def globalAgent_=(x: Agent): Unit
    Annotations
    @inline()
  27. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. 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-size CLI option.

    Annotations
    @JSImport("http", "maxHeaderSize") @native()
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  33. def request(url: java.lang.String, options: RequestOptions, callback: Function1[IncomingMessage, Unit]): ClientRequest
    Annotations
    @inline()
  34. def request(url: java.lang.String, options: RequestOptions): ClientRequest
    Annotations
    @inline()
  35. def request(url: URL_, options: RequestOptions, callback: Function1[IncomingMessage, Unit]): ClientRequest
    Annotations
    @inline()
  36. def request(url: URL_, options: RequestOptions): ClientRequest
    Annotations
    @inline()
  37. def request(options: java.lang.String, callback: Function1[IncomingMessage, Unit]): ClientRequest
    Annotations
    @inline()
  38. def request(options: java.lang.String): ClientRequest
    Annotations
    @inline()
  39. def request(options: URL_, callback: Function1[IncomingMessage, Unit]): ClientRequest
    Annotations
    @inline()
  40. def request(options: URL_): ClientRequest
    Annotations
    @inline()
  41. def request(options: RequestOptions, callback: Function1[IncomingMessage, Unit]): ClientRequest
    Annotations
    @inline()
  42. def request(options: RequestOptions): ClientRequest
    Annotations
    @inline()
  43. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  44. def toString(): java.lang.String
    Definition Classes
    AnyRef → Any
  45. def urlToHttpOptions(url: URL_): ClientRequestArgs

    This utility function converts a URL object into an ordinary options object as expected by the http.request() and https.request() APIs.

    This utility function converts a URL object into an ordinary options object as expected by the http.request() and https.request() APIs.

    Annotations
    @inline()
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  48. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  49. object AgentOptions
  50. object ClientRequestArgs
  51. object IncomingHttpHeaders
  52. object InformationEvent
  53. object ServerOptions

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped