Skip to content

Client -> RequestBuilder with a user-provided Method? #260

Description

@aldanor

It looks like this has been oversought. How do you create a RequestBuilder from a Client (which may have a base url and the corresponding url logic) if you have a Method and an url?

Maybe something like client.request(Method::Get, "foo") would be worthwhile adding?

(There's Client::send(), but perhaps there might be a more ergonomic option)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions