simulateOPTIONS method
Defines OPTIONS simulated response
for urlPattern
.
Implementation
void simulateOPTIONS(RegExp urlPattern, SimulateResponse response) {
_optionsPatterns[urlPattern] = response;
}
Defines OPTIONS simulated response
for urlPattern
.
void simulateOPTIONS(RegExp urlPattern, SimulateResponse response) {
_optionsPatterns[urlPattern] = response;
}