Trait/Object

fr.hmil.scalahttp.node.http

Http

Related Docs: object Http | package http

Permalink

trait Http extends Object

The node http API.

Server-related stuff not included. createClient not included because it is deprecated.

Annotations
@RawJSType() @native()
See also

https://nodejs.org/api/http.html

Linear Supertypes
Object, Any, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Http
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val METHODS: Seq[String]

    Permalink

    A list of the HTTP methods that are supported by the parser.

  5. val STATUS_CODES: Map[Number, String]

    Permalink

    A collection of all the standard HTTP response status codes, and the short description of each.

    A collection of all the standard HTTP response status codes, and the short description of each. For example, http.STATUS_CODES[404] === 'Not Found'.

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def get(options: RequestOptions, cb: Function1[IncomingMessage, Unit]): ClientRequest

    Permalink
  12. def get(options: RequestOptions): ClientRequest

    Permalink
  13. def get(url: String, cb: Function1[IncomingMessage, Unit]): ClientRequest

    Permalink
  14. def get(url: String): ClientRequest

    Permalink

    Since most requests are GET requests without bodies, Node.js provides this convenience method.

    Since most requests are GET requests without bodies, Node.js provides this convenience method. The only difference between this method and http.request() is that it sets the method to GET and calls req.end() automatically.

  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. val globalAgent: Agent

    Permalink

    Global instance of Agent which is used as the default for all http client requests.

  17. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  25. def request(options: RequestOptions, cb: Function1[IncomingMessage, Unit]): ClientRequest

    Permalink
  26. def request(options: RequestOptions): ClientRequest

    Permalink
  27. def request(url: String, cb: Function1[IncomingMessage, Unit]): ClientRequest

    Permalink
  28. def request(url: String): ClientRequest

    Permalink

    Node.js maintains several connections per server to make HTTP requests.

    Node.js maintains several connections per server to make HTTP requests. This function allows one to transparently issue requests. options can be an object or a string. If options is a string, it is automatically parsed with url.parse().

  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  31. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  32. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  33. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped