메소드 | 설명 | |
---|---|---|
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. |
리턴 | global::ProtoBuf |
public WithStatusCode ( HttpStatusCode httpStatusCode ) : |
||
httpStatusCode | HttpStatusCode | The new http status code |
리턴 |