DCS World Typescript
    Preparing search index...

    A class representing an HTTP response, extending the functionality of HttpResponse.

    Type Parameters

    • RESPONSE = any
    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    logger: Logger = ...

    Methods

    • Sets a header value.

      Parameters

      • key: string

        The header key.

      • value: string

        The header value.

      Returns this

      res.setHeader("X-My-Header", "My Value");