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 latest version available for the `RestGrpcAdapter` is 4.10.0, but this page is for version 4.4.0, which has a total of 7 versions provided for reference."],["`RestGrpcAdapter` is an implementation of `GrpcAdapter` that utilizes HTTP/1.1 and JSON through a gRPC `CallInvoker`."],["The `RestGrpcAdapter` class inherits from `GrpcAdapter` which in turn inherits from `object`, providing access to various inherited members and methods."],["A static `Default` property is available, providing the default gRPC adapter specifically for the REST transport."],["The `ConvertHttpStatusCode` method allows users to translate an HTTP status code into its equivalent gRPC status code."]]],[]]