angular / 4.4.6 / api / common / http / testing / requestmatch.html /

RequestMatch

interface

npm Package @angular/common
Module import { RequestMatch } from '@angular/common/http/testing';
Source common/http/testing/src/api.ts

Interface Overview

interface RequestMatch { 
  method?: string
  url?: string
}

Description

Defines a matcher for requests based on URL, method, or both.

Members

method?: string

url?: string

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v4.angular.io/api/common/http/testing/RequestMatch