Skip to content

document how to use discovery #2

@dbu

Description

@dbu

the discovery section only explains how to provide discovery for your own project. but i am trying to figure out how to just use discovery in my project. imho the doc should also explain that.

do i simply need to call HttpAdapterDiscovery::find() and thats it?

and for creating messages, i need the MessageFactoryDiscovery::find()->createRequest?

and what is the uri factory for? the MessageFactory accepts a string as well (the doc is incorrect btw, it should state that it can also accept an UriInterface)

i am happy to do a PR to add a usage section, but first want to be sure to understand correctly how things work.

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