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 details the `RestGrpcAdapter` class, which is an implementation of `GrpcAdapter` designed to use HTTP/1.1 and JSON via a gRPC."],["The `RestGrpcAdapter` class has a default adapter, accessible via the `Default` property, designed for REST transport."],["This page also displays the different versions of the `RestGrpcAdapter`, ranging from version 3.2.0 up to the latest version which is currently 4.10.0."],["The page outlines the class's inheritance structure, starting from `object` and detailing the inherited members and their associated methods."],["The page provides details on the `ConvertHttpStatusCode` method which is used to convert HTTP status codes to their corresponding gRPC status codes."]]],[]]