Options
All
  • Public
  • Public/Protected
  • All
Menu

StitchServiceClient

StitchServiceClient acts as a general purpose client for working with services that are not defined or well defined by this SDK. It functions similarly to {@link com.mongodb.stitch.android.core.StitchAppClient#callFunction}.

Hierarchy

  • StitchServiceClient

Index

Methods

Methods

callFunction

  • callFunction<T>(name: string, args: any[], codec?: Decoder<T>): Promise<T>
  • Calls the specified Stitch service function.

    Type parameters

    • T

    Parameters

    • name: string

      the name of the Stitch service function to call.

    • args: any[]

      the arguments to pass to the function.

    • Optional codec: Decoder<T>

      the optional codec to use to decode the result of the function call.

    Returns Promise<T>

    a {@link Promise} that resolves when the request completes.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc