Skip to content

Add an option to pass your own requests class into the client #70

@kuhanaklobasa

Description

@kuhanaklobasa

Is your feature request related to a problem? Please describe.
Yes, I wanted to customise timeouts but I didn't have a way so I wrote spaghetti code :=)

If your feature is related to implementing a new Roblox API, provide information here.
API URL: none
Documented: none

Describe the solution you'd like
Add an option to pass your own requests class into the client

Describe alternatives you've considered
None

Additional context

session = httpx.Session(timeout=10)
requests = Requests(
    url_generator=None,
    session=session
)
client = Client(requests=requests)

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