Method | Description | |
---|---|---|
ProtoBufResponse ( object body ) : global::ProtoBuf |
Initializes a new instance ofthe ProtoBufResponse class.
|
|
WithStatusCode ( HttpStatusCode httpStatusCode ) : |
Sets the HttpStatusCode property of the current ProtoBufResponse instance to the specified value.
|
public ProtoBufResponse ( object body ) : global::ProtoBuf | ||
body | object | Model instance to be serialized as the body. |
return | global::ProtoBuf |
public WithStatusCode ( HttpStatusCode httpStatusCode ) : |
||
httpStatusCode | HttpStatusCode | The new http status code |
return |