File tree 1 file changed +15
-7
lines changed
1 file changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -37,14 +37,22 @@ interface TransportInterface
37
37
/**
38
38
* Send request
39
39
*
40
- * @param string $path
41
- * API path
42
- * @param string $method
43
- * Request method
44
- * @param \stdClass $data
45
- * Body data
40
+ * @param string $address API path
41
+ * @param string $method Request method
42
+ * @param \stdClass $body Body data
46
43
*
47
44
* @return mixed Command result
48
45
*/
49
- public function sendRequest ($ path , $ method = self ::METHOD_GET , \stdClass $ data = null );
46
+ public function sendRequest ($ address , $ method = self ::METHOD_GET , \stdClass $ body = null );
47
+
48
+ /**
49
+ * Send request, bypass body validation
50
+ *
51
+ * @param string $address API path
52
+ * @param string $method Request method
53
+ * @param \stdClass $body Body data
54
+ *
55
+ * @return mixed Command result
56
+ */
57
+ public function sendRequestBypassBodyValidation ($ address , $ method = self ::METHOD_GET , \stdClass $ body = null );
50
58
}
You can’t perform that action at this time.
0 commit comments