Share via


RequestBuilder Class

 

Used to construct a HttpRequestMessage object.

Namespace:   Microsoft.Owin.Testing
Assembly:  Microsoft.Owin.Testing (in Microsoft.Owin.Testing.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Testing.RequestBuilder

Syntax

public class RequestBuilder
public ref class RequestBuilder 
type RequestBuilder = class end
Public Class RequestBuilder

Constructors

Name Description
System_CAPS_pubmethod RequestBuilder(TestServer, String)

Construct a new HttpRequestMessage with the given path.

Methods

Name Description
System_CAPS_pubmethod AddHeader(String, String)

Add the given header and value to the request or request content.

System_CAPS_pubmethod And(Action<HttpRequestMessage>)

Configure any HttpRequestMessage properties.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetAsync()

Set the request method to GET and start processing the request.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod PostAsync()

Set the request method to POST and start processing the request.

System_CAPS_pubmethod SendAsync(String)

Set the request method and start processing the request.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Owin.Testing Namespace

Return to top