FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
SignNow.NET/SignNow.Net/Interfaces/ISignNowClient.cs at develop · Yagg/SignNow.NET · GitHub
Yagg
/
SignNow.NET
Public
forked from
signnow/SignNow.NET
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
SignNow.NET
/
SignNow.Net
/
Interfaces
/
ISignNowClient.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
37 lines (34 loc) · 1.99 KB
Breadcrumbs
SignNow.NET
/
SignNow.Net
/
Interfaces
/
ISignNowClient.cs
Copy path
File metadata and controls
37 lines (34 loc) · 1.99 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
using
SignNow
.
Net
.
Model
;
using
System
.
IO
;
using
System
.
Net
.
Http
;
using
System
.
Threading
;
using
System
.
Threading
.
Tasks
;
namespace
SignNow
.
Net
.
Interfaces
{
public
interface
ISignNowClient
{
/// <summary>
/// HTTP requests are being made here
/// </summary>
/// <typeparam name="TResponse">Type (Model) of the response from the request</typeparam>
/// <param name="requestOptions"><see cref="RequestOptions"/></param>
/// <param name="cancellationToken">Propagates notification that operations should be canceled</param>
/// <returns></returns>
Task
<
TResponse
>
RequestAsync
<
TResponse
>
(
RequestOptions
requestOptions
,
CancellationToken
cancellationToken
=
default
)
;
/// <inheritdoc cref="ISignNowClient.RequestAsync{TResponse}(RequestOptions, CancellationToken)"/>
/// <typeparam name="TResponse">Type (Model) of the response from the request</typeparam>
/// <param name="requestOptions"><see cref="RequestOptions"/></param>
/// <param name="adapter"><see cref="IHttpContentAdapter{TResponse}"/></param>
/// <param name="completionOption"><see cref="HttpCompletionOption"/></param>
/// <param name="cancellationToken">Propagates notification that operations should be canceled</param>
/// <returns></returns>
Task
<
TResponse
>
RequestAsync
<
TResponse
>
(
RequestOptions
requestOptions
,
IHttpContentAdapter
<
TResponse
>
adapter
=
default
,
HttpCompletionOption
completionOption
=
default
,
CancellationToken
cancellationToken
=
default
)
;
/// <summary>
/// HTTP requests which returns Stream response
/// </summary>
/// <param name="requestOptions"><see cref="RequestOptions"/></param>
/// <param name="cancellationToken">Propagates notification that operations should be canceled</param>
/// <returns><see cref="Stream"/> response.</returns>
Task
<
Stream
>
RequestAsync
(
RequestOptions
requestOptions
,
CancellationToken
cancellationToken
=
default
)
;
}
}
Back
|
FazBrowse Home
|
New Git URL