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\u003eThe \u003ccode\u003eRestGrpcAdapter\u003c/code\u003e class implements the \u003ccode\u003eGrpcAdapter\u003c/code\u003e interface, utilizing HTTP/1.1 and JSON for communication within a gRPC context.\u003c/p\u003e\n"],["\u003cp\u003eThis class is derived from \u003ccode\u003eGrpcAdapter\u003c/code\u003e, inheriting its functionalities and ultimately descending from the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRestGrpcAdapter\u003c/code\u003e offers a \u003ccode\u003eDefault\u003c/code\u003e property, which provides the designated gRPC adapter specifically tailored for REST transport.\u003c/p\u003e\n"],["\u003cp\u003eIt also provides a static method \u003ccode\u003eConvertHttpStatusCode\u003c/code\u003e to map HTTP status codes to their respective gRPC status code equivalents.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for this class is 4.10.0.\u003c/p\u003e\n"]]],[],null,[]]