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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eRestGrpcAdapter\u003c/code\u003e class, which is an implementation of \u003ccode\u003eGrpcAdapter\u003c/code\u003e using HTTP/1.1 and JSON via a gRPC \u003ccode\u003eCallInvoker\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eRestGrpcAdapter\u003c/code\u003e is 4.10.0, with other versions available for reference ranging back to 3.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eGrpcAdapter\u003c/code\u003e, which itself inherits from the base \u003ccode\u003eobject\u003c/code\u003e class, and several methods are inherited from these parent classes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRestGrpcAdapter\u003c/code\u003e class includes a static \u003ccode\u003eDefault\u003c/code\u003e property that returns the default gRPC adapter for the REST transport.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eConvertHttpStatusCode\u003c/code\u003e 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.\u003c/p\u003e\n"]]],[],null,[]]