![]() |
GWebCache 1.0.0-alpha
C# library and nuget package to interact with a Gnutella Webcache
|
A wrapper object to gracefully handle errors. More...
Properties | |
bool | WasSuccessful [get, set] |
The request completed succefully. | |
bool | IsV2Response [get, set] |
The response is in a V2 format. | |
string? | ErrorMessage [get, set] |
Possible error message returned from the webcache. | |
T? | ResultObject [get, set] |
Parsed resulting object will be null in case of error. | |
A wrapper object to gracefully handle errors.
T | The response type that you want to wrap |
Result<PongResponse>
T | : | GWebCacheResponse |
|
getset |
The response is in a V2 format.
mainly used internally for parsing the http respons into the response object
GWebCacheResponse.IsValidV2Response(HttpResponseMessage?)
|
getset |
The request completed succefully.
Succesfull completion is defined by every response individually.
GWebCacheResponse.IsValidResponse(HttpResponseMessage?)