Click or drag to resize
PreparedRequestExtensionsAllowHttpStatus Method
Allow a specific set of HTTP status codes.

Namespace: Flurl.Http
Assembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax
public static PreparedRequest AllowHttpStatus(
	this PreparedRequest request,
	params HttpStatusCode[] statusCodes
)

Parameters

request
Type: PreparedRequest
The prepared request.
statusCodes
Type: System.NetHttpStatusCode
The allowed status codes.

Return Value

Type: PreparedRequest

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type PreparedRequest. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Version Information

openstack.net

Supported in: 1.6
See Also