Send with raw parameters

Summary:
On Android we already had an API to send raw arguments i.e. raw json as params.

This just adds feature parity on iOS.

Reviewed By: LukeDefeo

Differential Revision: D41433777

fbshipit-source-id: abd47f987b9e2b451100e81acf6fea61cd876807
This commit is contained in:
Lorenzo Blasa
2022-11-28 09:45:53 -08:00
committed by Facebook GitHub Bot
parent c0cf7d62d6
commit 1406e291ee
3 changed files with 13 additions and 0 deletions

View File

@@ -38,6 +38,10 @@
[self sendInternal:method withParams:params loggedTo:&_sent];
}
- (void)send:(NSString*)method withRawParams:(NSString*)params {
[self sendInternal:method withParams:params loggedTo:&_sent];
}
- (void)send:(NSString*)method withArrayParams:(NSArray*)params {
[self sendInternal:method withParams:params loggedTo:&_sentWithArray];
}