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 a246759 commit 1c79ce7Copy full SHA for 1c79ce7
packages/client/src/classes/client.js
@@ -99,6 +99,11 @@ class Client {
99
return this;
100
}
101
102
+ /**
103
+ * Global is the default residency (or region)
104
+ * Global region means the message will be sent through https://api.sendgrid.com
105
+ * EU region means the message will be sent through https://api.eu.sendgrid.com
106
+ **/
107
setDataResidency(region) {
108
if (!REGION_HOST_MAP.hasOwnProperty(region)) {
109
console.warn('Region can only be "global" or "eu".');
0 commit comments