Interface IPhotonActionRequest
- Namespace
- Phoesion.Glow.SDK
- Assembly
- Phoesion.Glow.SDK.Photons.Abstractions.dll
public interface IPhotonActionRequest : IPhotonRequest, IPhotonAction, IPhoton, IHasCookies
- Inherited Members
-
Properties
ConnectionInfo
IClientConnectionInfo ConnectionInfo { get; }
Property Value
- IClientConnectionInfo
ConnectionType
ClientConnectionTypes ConnectionType { get; }
Property Value
- ClientConnectionTypes
ContentLength
long? ContentLength { get; set; }
Property Value
- long?
Cookies
ICookieDictionary Cookies { get; }
Property Value
- ICookieDictionary
Files
IFormFilesDictionary Files { get; }
Property Value
- IFormFilesDictionary
IFormDictionary Form { get; }
Property Value
- IFormDictionary
Host
string? Host { get; set; }
Property Value
- string
Method
Methods Method { get; set; }
Property Value
- Methods
Params
StringValues Params { get; set; }
Property Value
- StringValues
Path
StringValues Path { get; set; }
Property Value
- StringValues
PathBase
StringValues PathBase { get; set; }
Property Value
- StringValues
Protocol
string? Protocol { get; set; }
Property Value
- string
Query
IRequestQuery Query { get; }
Property Value
- IRequestQuery
Scheme
Property Value
- string
Url
Property Value
- Uri
Methods
CopyBodyToAsync(Stream)
Task CopyBodyToAsync(Stream destination)
Parameters
destination
Stream
Returns
- Task
CopyBodyToAsync(Stream, int, CancellationToken)
Task CopyBodyToAsync(Stream destination, int bufferSize, CancellationToken cancellationToken)
Parameters
destination
Stream
bufferSize
int
cancellationToken
CancellationToken
Returns
- Task
CopyBodyToAsync(Stream, CancellationToken)
Task CopyBodyToAsync(Stream destination, CancellationToken cancellationToken)
Parameters
destination
Stream
cancellationToken
CancellationToken
Returns
- Task
GetBodyStreamAsync()
Task<Stream> GetBodyStreamAsync()
Returns
- Task<Stream>
GetBodyStreamAsync(CancellationToken)
Task<Stream> GetBodyStreamAsync(CancellationToken cancellationToken)
Parameters
cancellationToken
CancellationToken
Returns
- Task<Stream>
GetUrlWithQueryParameters(params (string Key, string Value)[])
Uri? GetUrlWithQueryParameters(params (string Key, string Value)[] queryParameters)
Parameters
queryParameters
(string Key, string Value)[]
Returns
- Uri
ReadBodyAsync(long, CancellationToken)
Task<byte[]?> ReadBodyAsync(long maxLength = 31457280, CancellationToken cancellationToken = default)
Parameters
maxLength
long
cancellationToken
CancellationToken
Returns
- Task<byte[]>
SetBodyStream(Stream)
void SetBodyStream(Stream stream)
Parameters
stream
Stream