mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-11-30 00:56:50 +00:00
Use 'Metadata' instead of 'header' when describing RPC Metadata
This commit is contained in:
1 parent
b06709b63b
commit
a9f87693ba
3 files changed
+6
-6
No files matched your search
@@ -30,8 +30,8 @@ service OneTimeDonations {
|
||||
// and token.
|
||||
//
|
||||
// The PayPal approval page presented to the user may be localized. Callers
|
||||
// should set their language preferences via an "Accept-Language" header on
|
||||
// the request:
|
||||
// should set their language preferences via gRPC metadata on the request with
|
||||
// the key "Accept-Language" header:
|
||||
// https://datatracker.ietf.org/doc/html/rfc3282#section-3
|
||||
rpc CreatePayPalBoost(CreatePayPalBoostRequest) returns (CreatePayPalBoostResponse) {}
|
||||
|
||||
|
||||
@@ -25,8 +25,8 @@ service RemoteConfiguration {
|
||||
// Returns detailed information for all configured badges, keyed by badge ID.
|
||||
//
|
||||
// Badge descriptions may contain localized strings. Callers should set their
|
||||
// language preferences via an "Accept-Language" header on the request
|
||||
// https://datatracker.ietf.org/doc/html/rfc3282#section-3
|
||||
// language preferences via gRPC metadata on the request with the key
|
||||
// "Accept-Language": https://datatracker.ietf.org/doc/html/rfc3282#section-3
|
||||
//
|
||||
// Callers may cache a badges result for up to 1 day before checking (via
|
||||
// etag) if there are any new updates.
|
||||
|
||||
@@ -39,8 +39,8 @@ service Subscriptions {
|
||||
// Returns a PayPal billing agreement approval URL and token that can be used to set up PayPal as a payment method.
|
||||
//
|
||||
// The presented billing agreement may be localized. Callers should set their
|
||||
// language preferences via an "Accept-Language" header on the request:
|
||||
// https://datatracker.ietf.org/doc/html/rfc3282#section-3
|
||||
// language preferences via gRPC metadata on the request with the key
|
||||
// "Accept-Language": https://datatracker.ietf.org/doc/html/rfc3282#section-3
|
||||
rpc CreatePayPalPaymentMethod(CreatePayPalPaymentMethodRequest) returns (CreatePayPalPaymentMethodResponse) {}
|
||||
|
||||
// Sets the default payment method for a subscriber.
|
||||
|
||||
Reference in new issue
Block a user