型・APIリファレンス
    Preparing search index...

    Type Alias WebApiOption

    WebAPI実行時のオプション

    type WebApiOption = {
        axiosConfig?: AxiosRequestConfig;
        cacheable?: boolean;
        cacheKey?: string;
        handleException?: string[];
    }
    Index

    Properties

    axiosConfig?: AxiosRequestConfig

    Axiosリクエスト設定

    cacheable?: boolean

    セッションストレージにレスポンスをキャッシュするか?

    cacheKey?: string

    キャッシュキー(デフォルトはパス単位でキャッシュ)

    handleException?: string[]

    呼び出し元で例外処理を行いたい例外クラス