Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Authentication Functions

  • _getAuthSessionDefaultTransformFunction(response: DvelopHttpResponse<any>, _: DvelopContext): AuthSession
  • _getAuthSessionFactory<T>(httpRequestFunction: (context: DvelopContext, config: DvelopHttpRequestConfig<any>) => Promise<DvelopHttpResponse<any>>, transformFunction: (response: DvelopHttpResponse<any>, context: DvelopContext) => T): (context: DvelopContext) => Promise<T>
  • _validateAuthSessionIdFactory<T>(httpRequestFunction: (context: DvelopContext, config: DvelopHttpRequestConfig<any>) => Promise<DvelopHttpResponse<any>>, transformFunction: (response: DvelopHttpResponse<any>, context: DvelopContext) => T): (context: DvelopContext) => Promise<T>

Http Functions

  • _defaultHttpRequestFunction(context: DvelopContext, config: DvelopHttpRequestConfig<any>): Promise<DvelopHttpResponse>
  • _defaultHttpRequestFunctionFactory(httpClient: DvelopHttpClient): (context: DvelopContext, config: DvelopHttpRequestConfig) => Promise<DvelopHttpResponse>
  • Factory used to create the default httpRequestFunction. Mostly used for HTTP-Error handling.

    internal

    Parameters

    • httpClient: DvelopHttpClient

    Returns (context: DvelopContext, config: DvelopHttpRequestConfig) => Promise<DvelopHttpResponse>

      • (context: DvelopContext, config: DvelopHttpRequestConfig): Promise<DvelopHttpResponse>
      • Factory used to create the default httpRequestFunction. Mostly used for HTTP-Error handling.

        internal
        category

        Http

        Parameters

        Returns Promise<DvelopHttpResponse>

Generated using TypeDoc