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 `CallInvoker`."],["The latest version of `RestGrpcAdapter` is 4.10.0, with other versions available for reference ranging back to 3.2.0."],["The class inherits from `GrpcAdapter`, which itself inherits from the base `object` class, and several methods are inherited from these parent classes."],["The `RestGrpcAdapter` class includes a static `Default` property that returns the default gRPC adapter for the REST transport."],["The `ConvertHttpStatusCode` method in this class facilitates the conversion of HTTP status codes to corresponding gRPC status codes, noting that multiple HTTP codes may map to the same gRPC code."]]],[]]