Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Http

A generic HTTP interface

Hierarchy

  • Http

Implemented by

Index

Methods

Methods

delete

  • Delete Method

    Parameters

    • url: string

      The relative url

    • Optional options: any

      Option/Configuration object for the http clients configuration

    Returns Promise<HttpResponse>

    request result in case of success or error

get

  • Get Method

    Parameters

    • url: string

      The relative url

    • Optional options: any

      Option/Configuration object for the http clients configuration

    Returns Promise<HttpResponse>

    request result in case of success or error

post

  • post(url: string, payload: any, options?: any): Promise<HttpResponse>
  • Post Method

    Parameters

    • url: string

      The relative url

    • payload: any

      The post data

    • Optional options: any

      Option/Configuration object for the http clients configuration

    Returns Promise<HttpResponse>

    request result in case of success or error

put

  • put(url: string, payload: any, options?: any): Promise<HttpResponse>
  • Put Method

    Parameters

    • url: string

      The relative url

    • payload: any

      The put data

    • Optional options: any

      Option/Configuration object for the http clients configuration

    Returns Promise<HttpResponse>

    request result in case of success or error