Skip to content

Use an alterative HttpClient? #21

@tacman

Description

@tacman

My code dies on the curl call, and I'm having trouble debugging what the issue is (lastest PHP 8.4, Ubuntu 24.04 LTS)

I'd prefer to use the Symfony HttpClient, is there a way to pass that (or any PSR-11 client) in and use it instead?

Thanks for releasing this.

            $client = new Client('https://pokemon.survos.com/x/mpc');
            $result = $client->execute('create_user', [
                'emailAddress' => 'tacman@gmail.com',
                'username' => 'tacman'
            ]);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions