public static StatusCode ConvertHttpStatusCode(int httpStatusCode)
Converts an HTTP status code into the corresponding gRPC status code.
Note that there is not a 1:1 correspondence between status code; multiple
HTTP status codes can map to the same gRPC status code.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["This webpage provides documentation for the `RestGrpcAdapter` class, which is an implementation of `GrpcAdapter` using HTTP/1.1 and JSON via a gRPC framework."],["The `RestGrpcAdapter` class is part of the `Google.Api.Gax.Grpc.Rest` namespace within the `Google.Api.Gax.Grpc.dll` assembly, and is a concrete type, derived from `GrpcAdapter`, then `Object`."],["The page highlights the default property of the class, `Default`, which provides the default gRPC adapter for REST transport."],["The `ConvertHttpStatusCode` method is detailed, which allows the conversion of HTTP status codes into corresponding gRPC status codes, acknowledging the possibility of multiple HTTP status codes mapping to a single gRPC code."],["The document also lists the available versions of this implementation, which can be accessed by the provided links, ranging from 3.2.0 to the latest 4.10.0."]]],[]]