RequestBuilder.And(Action<HttpRequestMessage>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configure any HttpRequestMessage properties.
public:
Microsoft::AspNetCore::TestHost::RequestBuilder ^ And(Action<System::Net::Http::HttpRequestMessage ^> ^ configure);
public Microsoft.AspNetCore.TestHost.RequestBuilder And (Action<System.Net.Http.HttpRequestMessage> configure);
member this.And : Action<System.Net.Http.HttpRequestMessage> -> Microsoft.AspNetCore.TestHost.RequestBuilder
Public Function And (configure As Action(Of HttpRequestMessage)) As RequestBuilder
Parameters
- configure
- Action<HttpRequestMessage>
Returns
This RequestBuilder for chaining.