共用方式為


HttpRequestMocksConverter class

UserTokenMock 的類型轉換器。

建構函式

HttpRequestMocksConverter(ResourceExplorer)

方法

convert(string | HttpRequestMock[])

建構函式詳細資料

HttpRequestMocksConverter(ResourceExplorer)

new HttpRequestMocksConverter(_resourceExplorer: ResourceExplorer)

參數

_resourceExplorer

ResourceExplorer

要存取內容的資源。

方法詳細資料

convert(string | HttpRequestMock[])

function convert(value: string | HttpRequestMock[]): HttpRequestMock[]

參數

value

string | HttpRequestMock[]

字串數位和設定模擬專案。

傳回

設定仿真的陣列。