Options
All
  • Public
  • Public/Protected
  • All
Menu

Utility class

Hierarchy

  • HttpUtilService

Index

Constructors

Properties

originatingServiceIdentifier: string

Methods

  • Method to initialize headers for a http api call

    Parameters

    • Optional token: string

      token to be added in header

    • Optional contentType: string

      content type to be added in header (optional)

    • Optional xMessageSender: X_MESSAGE_SENDER

      x-message-sender header to be added in header (optional)

    Returns HttpRequestInit

    HttpRequestInit response

    @example
    const initApi = this.initHeader()

Generated using TypeDoc