Skip to content

Add support for Symfony HttpClient as Transport #1750

@damienalexandre

Description

@damienalexandre

I created a new Abstract Transport to use the new Symfony HttpClient component as HTTP client with Elastica.

jolicode/elastically#15

I'm willing to contribute this back to Elastica but I'm not sure it's appropriate to add in the core, as it's not standalone (needs symfony/http-client) and does not provide new features (except for Symfony Framework users).

What do you think, should I create a PR here?
Another concern of mine is #944 - one day we might not have transport in Elastica 🎉 but rely on the core elasticsearch-php client.

Thanks! 👍 😗

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