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-04-17 UTC."],[[["The `RestGrpcAdapter` class implements `GrpcAdapter` using HTTP/1.1 and JSON via a gRPC `CallInvoker`."],["This class is part of the `Google.Api.Gax.Grpc.Rest` namespace within the `Google.Api.Gax.Grpc.dll` assembly."],["The `RestGrpcAdapter` includes a `Default` property that returns the default gRPC adapter for REST transport."],["It provides a static method, `ConvertHttpStatusCode`, which converts an HTTP status code into the corresponding gRPC status code."],["The RestGrpcAdapter class is available from version 3.2.0 up to the latest 4.10.0 version, which are all linked from the content provided."]]],[]]