mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 12:45:52 +03:00
[GH-ISSUE #635] Adding timeout interval to "makeRequest" methods #415
Labels
No labels
bug
cocoapod
duplicate
enhancement
feature-request
help wanted
help wanted
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/OAuthSwift#415
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rentateam-mashatrubina on GitHub (Nov 23, 2020).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/635
Description:
Hi!
Could you please add the possibility to set timeout interval right inside one of the
makeRequestmethods?For now it can be done in
OAuthSwiftClient.makeRequest(_: URLRequest)only, as I may see. I find this not that convenient as I need to do some preparations toURLRequestinstance before passing it tomakeRequest(add parameters, httpMethod and so on). While all of that could be easily done withmakeRequestmethod, if it could accept time interval parameter as well.P.S. Thank you very much for your work! Your framework saves me tons of hours!
OAuth Provider? (Twitter, Github, ..):
Auth using grant type "password"
OAuth Version:
OS (Please fill the version) :
Installation method:
Library version:
@phimage commented on GitHub (Apr 29, 2021):
timeout is generally managed by session manager, there is
URLSessionFactoryand the configuration to create the session