Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: HResponse Expect(HttpStatusCode)

Declaration

public HResponse Expect(
    HttpStatusCode status
)

Summary

Throws an exception if the status code of the response is not the specified expected status code.

Parameters

HttpStatusCodestatus The status code that is expected.

Returns

Itself.