Table of Contents

Interface ISDKInitHook

Namespace
Styra.Opa.OpenApi.Hooks
Assembly
Styra.Opa.dll

SDKInit hook is called when the SDK is initializing. The hook can modify and return a new baseUrl and HTTP client to be used by the SDK.

public interface ISDKInitHook

Methods

SDKInit(string, ISpeakeasyHttpClient)

(string, ISpeakeasyHttpClient) SDKInit(string baseUrl, ISpeakeasyHttpClient client)

Parameters

baseUrl string
client ISpeakeasyHttpClient

Returns

(string, ISpeakeasyHttpClient)