File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,15 @@ const notification = await remote.sayHello.notify(["World"])
7979// undefined
8080```
8181
82+ ##### auth
83+
84+ This method will set the ` Authorization ` header to ` \ ` Bearer ${jwt}\` `.
85+
86+ ``` typescript
87+ const greeting = await remote .sayHello .auth (jwt )([" World" ])
88+ // Hello World
89+ ```
90+
8291##### batch
8392
8493``` typescript
@@ -91,15 +100,6 @@ const noise1 = await remote.animalsMakeNoise.batch([
91100// [ "MIAAOW", "WUUUUFU WUUUUFU", "IAAAIAIA IAAAIAIA IAAAIAIA", "FIIIIIRE" ]
92101```
93102
94- ##### auth
95-
96- This method will set the ` Authorization ` header to ` Bearer ${jwt} ` .
97-
98- ``` typescript
99- const greeting = await remote .sayHello .auth (jwt )([" World" ])
100- // Hello World
101- ```
102-
103103##### batch with different methods
104104
105105Takes either a ` batchObject ` or a ` batchArray ` as argument and returns a
You can’t perform that action at this time.
0 commit comments