Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WebServiceDecorator

Hierarchy

  • WebServiceDecorator

Callable

Index

Methods

clientClassFor

  • (Experimental) Produce a class which can construct REST service clients for the given web service class, which should be decorated with @WebService and conform to the Transparent Service expectations.

    Type parameters

    • T

    Parameters

    • klass: Constructor<T>

    Returns RestClientConstructor<RestClient<T>>

clientFor

  • (Experimental) Produce a REST service client for the given web service class, which should be decorated with @WebService and conform to the Transparent Service expectations.

    Type parameters

    • T

    Parameters

    • klass: Constructor<T>

      The transparent web service to create a client for

    • endpoint: string

      The endpoint where the service is hosted

    • Optional options: ClientOptions

      A set of options

    Returns RestClient<T>

Generated using TypeDoc