HttpRequestMocksConverter class
UserTokenMock 的类型转换器。
构造函数
| Http |
方法
| convert(string | Http |
构造函数详细信息
HttpRequestMocksConverter(ResourceExplorer)
new HttpRequestMocksConverter(_resourceExplorer: ResourceExplorer)
参数
- _resourceExplorer
-
ResourceExplorer
用于访问内容的资源。
方法详细信息
convert(string | HttpRequestMock[])
function convert(value: string | HttpRequestMock[]): HttpRequestMock[]
参数
- value
-
string | HttpRequestMock[]
字符串数组和设置模拟元素。
返回
设置模拟的数组。