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 framework.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRestGrpcAdapter\u003c/code\u003e 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, and is a concrete type, derived from \u003ccode\u003eGrpcAdapter\u003c/code\u003e, then \u003ccode\u003eObject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe page highlights the default property of the class, \u003ccode\u003eDefault\u003c/code\u003e, which provides the default gRPC adapter for REST transport.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eConvertHttpStatusCode\u003c/code\u003e method is detailed, which allows the conversion of HTTP status codes into corresponding gRPC status codes, acknowledging the possibility of multiple HTTP status codes mapping to a single gRPC code.\u003c/p\u003e\n"],["\u003cp\u003eThe document also lists the available versions of this implementation, which can be accessed by the provided links, ranging from 3.2.0 to the latest 4.10.0.\u003c/p\u003e\n"]]],[],null,[]]