mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-19 05:35:11 +00:00
35 lines
1.4 KiB
C#
35 lines
1.4 KiB
C#
using System;
|
|
|
|
namespace Octokit.Reactive
|
|
{
|
|
public interface IObservableGitHubClient : IApiInfoProvider
|
|
{
|
|
IConnection Connection { get; }
|
|
|
|
/// <summary>
|
|
/// Set the GitHub Api request timeout.
|
|
/// Useful to set a specific timeout for lengthy operations, such as uploading release assets
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// See more information here: https://technet.microsoft.com/library/system.net.http.httpclient.timeout(v=vs.110).aspx
|
|
/// </remarks>
|
|
/// <param name="timeout">The Timeout value</param>
|
|
void SetRequestTimeout(TimeSpan timeout);
|
|
|
|
IObservableAuthorizationsClient Authorization { get; }
|
|
IObservableActivitiesClient Activity { get; }
|
|
IObservableIssuesClient Issue { get; }
|
|
IObservableMiscellaneousClient Miscellaneous { get; }
|
|
IObservableOauthClient Oauth { get; }
|
|
IObservableOrganizationsClient Organization { get; }
|
|
IObservablePullRequestsClient PullRequest { get; }
|
|
IObservableRepositoriesClient Repository { get; }
|
|
IObservableGistsClient Gist { get; }
|
|
IObservableUsersClient User { get; }
|
|
IObservableGitDatabaseClient Git { get; }
|
|
IObservableSearchClient Search { get; }
|
|
IObservableEnterpriseClient Enterprise { get; }
|
|
IObservableMigrationClient Migration { get; }
|
|
IObservableReactionsClient Reaction { get; }
|
|
}
|
|
} |