The non-browser variant of ActorDereferenceHttp.

Hierarchy (view full)

Constructors

Properties

Actor that must be registered in the bus before this actor.

The bus this actor subscribes to.

maxAcceptHeaderLength: number

The maximum allowed accept header value length for non-browser environments.

Range

Default

{1024}
maxAcceptHeaderLengthBrowser: number

The maximum allowed accept header value length for browser environments.

Range

Default

{128}
mediatorHttp: MediatorHttp

The HTTP mediator.

name: string

The name for this actor.

Default

{<rdf:subject>}

Methods

  • Deinitialize this actor. This should be used for cleaning up things when the application is shut down, such as closing files and removing temporary files.

    Returns Promise<any>

    A promise that resolves when the actor has been deinitialized.

  • Initialize this actor. This should be used for doing things that take a while, such as opening files.

    Returns Promise<any>

    A promise that resolves when the actor has been initialized.