Dela via


RequestBuilder.And(Action<HttpRequestMessage>) Method

Definition

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

Returns

This RequestBuilder for chaining.

Applies to