Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Http

Http calls from peer url.

Hierarchy

  • Http

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Optional network

network: Network

Methods

get

  • get<T>(url: string, params?: any, responseType?: object): Observable<T>
  • Type parameters

    • T

    Parameters

    • url: string
    • Default value params: any = {}
    • Optional responseType: object

    Returns Observable<T>

getNative

  • getNative<T>(url: string, params?: any, responseType?: object): Observable<T>
  • Type parameters

    • T

    Parameters

    • url: string
    • Default value params: any = {}
    • Optional responseType: object

    Returns Observable<T>

post

  • post<T>(url: string, body: any, responseType?: object): Observable<T>
  • Type parameters

    • T

    Parameters

    • url: string
    • body: any
    • Optional responseType: object

    Returns Observable<T>

postNative

  • postNative<T>(url: string, body: any, responseType?: object): Observable<T>
  • Type parameters

    • T

    Parameters

    • url: string
    • body: any
    • Optional responseType: object

    Returns Observable<T>

put

  • put(url: string, data: any): any

Generated using TypeDoc