mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 04:35:56 +03:00
[PR #672] Make TimeoutInterval configurable to fix issue OAuthSwift/issues/667 #715
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#715
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?
📋 Pull Request Information
Original PR: https://github.com/OAuthSwift/OAuthSwift/pull/672
Author: @MikeSpelling
Created: 8/12/2021
Status: 🔄 Open
Base:
master← Head:master📝 Commits (1)
0b346b9Move the default timeoutInterval from OAuthSwiftHTTPRequest's Config initialiser up to the top level OAuth1/2Swift functions to allow them to be overriden.📊 Changes
4 files changed (+58 additions, -56 deletions)
View changed files
📝
Sources/OAuth1Swift.swift(+7 -7)📝
Sources/OAuth2Swift.swift(+18 -16)📝
Sources/OAuthSwiftClient.swift(+31 -31)📝
Sources/OAuthSwiftHTTPRequest.swift(+2 -2)📄 Description
Rather than providing a default timeout in the Config initialiser which is never overriden I've moved this up to the top level requests. This should mean its a non-breaking change but allows a timeoutInterval to be passed where needed and used by the UrlRequest.
This is my first open source contribution so I welcome any feedback - thanks!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.