Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
ScenariiTesting
Tests
WebApiKeyHandler
C# Class ScenariiTesting.Tests.WebApiKeyHandler
The handler will check for an “apikey”, if the request doesn’t have it, then error will be returned.
Inheritance:
System.Net.Http.DelegatingHandler
Show file
Open project: AxaWebCenter/specFlow-scenarii-testing
Protected Methods
Method
Description
SendAsync
(
HttpRequestMessage
request
,
CancellationToken
cancellationToken
) :
Task
Private Methods
Method
Description
SendError
(
string
error
,
HttpStatusCode
code
) :
Task
Method Details
SendAsync()
protected
method
protected
SendAsync
(
HttpRequestMessage
request
,
CancellationToken
cancellationToken
) :
Task
request
System.Net.Http.HttpRequestMessage
cancellationToken
System.Threading.CancellationToken
return
Task