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 \u003ccode\u003eGrpcAdapter\u003c/code\u003e using HTTP/1.1 and JSON via a gRPC \u003ccode\u003eCallInvoker\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Api.Gax.Grpc.Rest\u003c/code\u003e namespace within the \u003ccode\u003eGoogle.Api.Gax.Grpc.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRestGrpcAdapter\u003c/code\u003e includes a \u003ccode\u003eDefault\u003c/code\u003e property that returns the default gRPC adapter for REST transport.\u003c/p\u003e\n"],["\u003cp\u003eIt provides a static method, \u003ccode\u003eConvertHttpStatusCode\u003c/code\u003e, which converts an HTTP status code into the corresponding gRPC status code.\u003c/p\u003e\n"],["\u003cp\u003eThe RestGrpcAdapter class is available from version 3.2.0 up to the latest 4.10.0 version, which are all linked from the content provided.\u003c/p\u003e\n"]]],[],null,[]]