Skip to content

Support for react/http-client > 0.5.0 #32

Closed
@nenad

Description

@nenad
Q A
Bug? no
New Feature? yes?
Version 2.1.0

Actual Behavior

wait() method on Promise fails because the LoopInterface::tick() in react/event-loop is internal now.

Expected Behavior

Synchronous requests work when I call the Client::sendRequest() method.

Steps to Reproduce

Update http-client to 0.5.9
Make sure the react/event-loop version is >= 0.5.0 (BC version)
Try to send synchronous request with the Client from this library.

Possible Solutions

reactphp/event-loop#52 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions