Interface MockHttpResponse

Result of a mock HTTP request

interface MockHttpResponse {
    body: string | void | HashMap<any>;
    headers: HashMap<string>;
}

Properties

Properties

body: string | void | HashMap<any>

Response body

headers: HashMap<string>

Response headers. Keys are lowercase