New Features
Introducing a new way to use Saloon! You can now register your requests within your connector to use it just like an SDK. Take a look:
// Currently, the only way to make requests...
$request = new GetForgeServerRequest(serverId: 123456);
$response = $request->send();
// Introducing the new "SDK" API!
$connector = new ForgeConnector();
$request = $connector->getForgeServerRequest(serverId: 123456);
$response = $request->send();
// You can even use static methods...
$request = ForgeConnector::getForgeServerRequest(serverId: 123456);
$response = $request->send();
What's Changed
- New connector request API by @Sammyjo20 in #28
- Updated interfaces by @Sammyjo20 in #29
Full Changelog: v0.6.5...v0.6.6