Defines a matcher for requests based on URL, method, or both.
API
interface RequestMatch {
method?: string | undefined;
url?: string | undefined;
}
method
string | undefinedurl
string | undefinedDefines a matcher for requests based on URL, method, or both.
interface RequestMatch {
method?: string | undefined;
url?: string | undefined;
}
string | undefinedstring | undefined
Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/common/http/testing/RequestMatch