Packages

c

io.scalajs.npm.aws.Request

RequestEnrichment

implicit final class RequestEnrichment[T, E] extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RequestEnrichment
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RequestEnrichment(request: Request[T, E])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  7. def onBuild(listener: (Request[T, E]) ⇒ Any): request.type

    Adds a listener that is triggered when the request payload is being built.

    Adds a listener that is triggered when the request payload is being built.

    listener

    - Callback to run when the request's payload is being built.

    Annotations
    @inline()
  8. def onComplete(listener: (Response[T, E]) ⇒ Any): request.type

    Adds a listener that is triggered whenever a request cycle completes.

    Adds a listener that is triggered whenever a request cycle completes.

    listener

    - Callback to run when the request cycle completes.

    Annotations
    @inline()
  9. def onError(listener: (AWSError, Response[T, E]) ⇒ Any): request.type

    Adds a listener that is triggered when an error occurs at any point during the request.

    Adds a listener that is triggered when an error occurs at any point during the request.

    listener

    - Callback to run when the request errors at any point.

    Annotations
    @inline()
  10. def onExtractData(listener: (Response[T, E]) ⇒ Any): request.type

    Adds a listener that is triggered in successful requests to allow listeners to de-serialize the response body into response.data.

    Adds a listener that is triggered in successful requests to allow listeners to de-serialize the response body into response.data.

    listener

    - Callback to run when the request succeeded.

    Annotations
    @inline()
  11. def onExtractError(listener: (Response[T, E]) ⇒ Any): request.type

    Adds a listener that is triggered on all non-2xx requests so that listeners can extract error details from the response body.

    Adds a listener that is triggered on all non-2xx requests so that listeners can extract error details from the response body.

    listener

    - Callback to run when the request failed.

    Annotations
    @inline()
  12. def onHttpData(listener: (|[Buffer, Uint8Array], Response[T, E]) ⇒ Any): request.type

    Adds a listener that is triggered when data is sent by the remote server.

    Adds a listener that is triggered when data is sent by the remote server.

    listener

    - Callback to run when data is sent by the remote server.

    Annotations
    @inline()
  13. def onHttpDone(listener: (Response[T, E]) ⇒ Any): request.type

    Adds a listener that is triggered when the server is finished sending data.

    Adds a listener that is triggered when the server is finished sending data.

    listener

    - Callback to run when the server is finished sending data.

    Annotations
    @inline()
  14. def onHttpDownloadProgress(listener: (Progress, Response[T, E]) ⇒ Any): request.type

    Adds a listener that is triggered when the HTTP request has downloaded more data.

    Adds a listener that is triggered when the HTTP request has downloaded more data.

    listener

    - Callback to run when the HTTP request has downloaded more data.

    Annotations
    @inline()
  15. def onHttpError(listener: (Error, Response[T, E]) ⇒ Any): request.type

    Adds a listener that is triggered when the HTTP request failed.

    Adds a listener that is triggered when the HTTP request failed.

    listener

    - Callback to run when the HTTP request failed.

    Annotations
    @inline()
  16. def onHttpHeaders(listener: (StatusCode, HttpHeaders, Response[T, E], StatusMessage) ⇒ Any): request.type

    Adds a listener that is triggered when headers are sent by the remote server.

    Adds a listener that is triggered when headers are sent by the remote server.

    listener

    - Callback to run when the headers are sent by the remote server.

    Annotations
    @inline()
  17. def onHttpUploadProgress(listener: (Progress, Response[T, E]) ⇒ Any): request.type

    Adds a listener that is triggered when the HTTP request has uploaded more data.

    Adds a listener that is triggered when the HTTP request has uploaded more data.

    listener

    - Callback to run when the HTTP request has uploaded more data.

    Annotations
    @inline()
  18. def onRetry(listener: (Response[T, E]) ⇒ Any): request.type

    Adds a listener that is triggered when a request failed and might need to be retried or redirected.

    Adds a listener that is triggered when a request failed and might need to be retried or redirected.

    listener

    - Callback to run when the request failed and may be retried.

    Annotations
    @inline()
  19. def onSend(listener: (Response[T, E]) ⇒ Any): request.type

    Adds a listener that is triggered when a request is ready to be sent.

    Adds a listener that is triggered when a request is ready to be sent.

    listener

    - Callback to run when the request is ready to be sent.

    Annotations
    @inline()
  20. def onSign(listener: (Request[T, E]) ⇒ Any): request.type

    Adds a listener that is triggered when a request is being signed.

    Adds a listener that is triggered when a request is being signed.

    listener

    - Callback to run when the request is being signed.

    Annotations
    @inline()
  21. def onSuccess(listener: (Response[T, E]) ⇒ Any): request.type

    Adds a listener that is triggered when the request completed successfully.

    Adds a listener that is triggered when the request completed successfully.

    listener

    - Callback to run when the request completed successfully.

    Annotations
    @inline()
  22. def onValidate(listener: (Request[T, E]) ⇒ Any): request.type

    Adds a listener that is triggered when a request is being validated.

    Adds a listener that is triggered when a request is being validated.

    listener

    - Callback to run when the request is being validated.

    Annotations
    @inline()
  23. val request: Request[T, E]
  24. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped