We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95b28a2 commit 304b5d0Copy full SHA for 304b5d0
Sources/GRPCCore/Status.swift
@@ -302,7 +302,7 @@ extension Status {
302
///
303
/// - Parameter httpStatusCode: The HTTP status code to map to a status.
304
public init(httpStatusCode: Int) {
305
- // https://github.com/grpc/grpc/blob/master/doc/http-grpc-status-mapping.md
+ // See the "http-grpc-status-mapping.md" doc in grpc/grpc GitHub repo.
306
switch httpStatusCode {
307
case 400:
308
self = Status(code: .internalError, message: "HTTP 400: Bad Request")
0 commit comments