Class Message
- Namespace
- Soup
- Assembly
- Soup-3.0.dll
public sealed class Message : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
- Inheritance
-
Message
- Implements
- Inherited Members
Constructors
Message(bool, params ConstructArgument[])
protected Message(bool owned, params ConstructArgument[] constructArguments)
Parameters
owned
boolconstructArguments
ConstructArgument[]
Message(IntPtr, bool)
protected Message(IntPtr ptr, bool ownedRef)
Parameters
Fields
AcceptCertificateSignal
Signal Descriptor for OnAcceptCertificate.
public static readonly ReturningSignal<Message, Message.AcceptCertificateSignalArgs, bool> AcceptCertificateSignal
Field Value
AuthenticateSignal
Signal Descriptor for OnAuthenticate.
public static readonly ReturningSignal<Message, Message.AuthenticateSignalArgs, bool> AuthenticateSignal
Field Value
ContentSniffedSignal
Signal Descriptor for OnContentSniffed.
public static readonly Signal<Message, Message.ContentSniffedSignalArgs> ContentSniffedSignal
Field Value
FinishedSignal
Signal Descriptor for OnFinished.
public static readonly Signal<Message> FinishedSignal
Field Value
FirstPartyPropertyDefinition
public static readonly Property<Uri, Message> FirstPartyPropertyDefinition
Field Value
FlagsPropertyDefinition
public static readonly Property<MessageFlags, Message> FlagsPropertyDefinition
Field Value
GotBodyDataSignal
Signal Descriptor for OnGotBodyData.
public static readonly Signal<Message, Message.GotBodyDataSignalArgs> GotBodyDataSignal
Field Value
GotBodySignal
Signal Descriptor for OnGotBody.
public static readonly Signal<Message> GotBodySignal
Field Value
GotHeadersSignal
Signal Descriptor for OnGotHeaders.
public static readonly Signal<Message> GotHeadersSignal
Field Value
GotInformationalSignal
Signal Descriptor for OnGotInformational.
public static readonly Signal<Message> GotInformationalSignal
Field Value
HstsEnforcedSignal
Signal Descriptor for OnHstsEnforced.
public static readonly Signal<Message> HstsEnforcedSignal
Field Value
HttpVersionPropertyDefinition
public static readonly Property<HTTPVersion, Message> HttpVersionPropertyDefinition
Field Value
IsOptionsPingPropertyDefinition
public static readonly Property<bool, Message> IsOptionsPingPropertyDefinition
Field Value
IsTopLevelNavigationPropertyDefinition
public static readonly Property<bool, Message> IsTopLevelNavigationPropertyDefinition
Field Value
MethodPropertyDefinition
public static readonly Property<string?, Message> MethodPropertyDefinition
Field Value
NetworkEventSignal
Signal Descriptor for OnNetworkEvent.
public static readonly Signal<Message, Message.NetworkEventSignalArgs> NetworkEventSignal
Field Value
PriorityPropertyDefinition
public static readonly Property<MessagePriority, Message> PriorityPropertyDefinition
Field Value
ReasonPhrasePropertyDefinition
public static readonly Property<string?, Message> ReasonPhrasePropertyDefinition
Field Value
RemoteAddressPropertyDefinition
public static readonly Property<SocketAddress?, Message> RemoteAddressPropertyDefinition
Field Value
RequestCertificatePasswordSignal
Signal Descriptor for OnRequestCertificatePassword.
public static readonly ReturningSignal<Message, Message.RequestCertificatePasswordSignalArgs, bool> RequestCertificatePasswordSignal
Field Value
RequestCertificateSignal
Signal Descriptor for OnRequestCertificate.
public static readonly ReturningSignal<Message, Message.RequestCertificateSignalArgs, bool> RequestCertificateSignal
Field Value
RequestHeadersPropertyDefinition
public static readonly Property<MessageHeaders, Message> RequestHeadersPropertyDefinition
Field Value
ResponseHeadersPropertyDefinition
public static readonly Property<MessageHeaders, Message> ResponseHeadersPropertyDefinition
Field Value
RestartedSignal
Signal Descriptor for OnRestarted.
public static readonly Signal<Message> RestartedSignal
Field Value
SiteForCookiesPropertyDefinition
public static readonly Property<Uri, Message> SiteForCookiesPropertyDefinition
Field Value
StartingSignal
Signal Descriptor for OnStarting.
public static readonly Signal<Message> StartingSignal
Field Value
StatusCodePropertyDefinition
public static readonly Property<uint, Message> StatusCodePropertyDefinition
Field Value
TlsCiphersuiteNamePropertyDefinition
public static readonly Property<string?, Message> TlsCiphersuiteNamePropertyDefinition
Field Value
TlsPeerCertificateErrorsPropertyDefinition
public static readonly Property<TlsCertificateFlags, Message> TlsPeerCertificateErrorsPropertyDefinition
Field Value
TlsPeerCertificatePropertyDefinition
public static readonly Property<TlsCertificate?, Message> TlsPeerCertificatePropertyDefinition
Field Value
TlsProtocolVersionPropertyDefinition
public static readonly Property<TlsProtocolVersion, Message> TlsProtocolVersionPropertyDefinition
Field Value
UriPropertyDefinition
public static readonly Property<Uri, Message> UriPropertyDefinition
Field Value
WroteBodyDataSignal
Signal Descriptor for OnWroteBodyData.
public static readonly Signal<Message, Message.WroteBodyDataSignalArgs> WroteBodyDataSignal
Field Value
WroteBodySignal
Signal Descriptor for OnWroteBody.
public static readonly Signal<Message> WroteBodySignal
Field Value
WroteHeadersSignal
Signal Descriptor for OnWroteHeaders.
public static readonly Signal<Message> WroteHeadersSignal
Field Value
Properties
FirstParty
public Uri FirstParty { get; set; }
Property Value
Flags
public MessageFlags Flags { get; set; }
Property Value
HttpVersion
public HTTPVersion HttpVersion { get; }
Property Value
IsOptionsPing
public bool IsOptionsPing { get; set; }
Property Value
IsTopLevelNavigation
public bool IsTopLevelNavigation { get; set; }
Property Value
Method
public string? Method { get; set; }
Property Value
Priority
public MessagePriority Priority { get; set; }
Property Value
ReasonPhrase
public string? ReasonPhrase { get; }
Property Value
RemoteAddress
public SocketAddress? RemoteAddress { get; }
Property Value
RequestHeaders
public MessageHeaders RequestHeaders { get; }
Property Value
ResponseHeaders
public MessageHeaders ResponseHeaders { get; }
Property Value
SiteForCookies
public Uri SiteForCookies { get; set; }
Property Value
StatusCode
public uint StatusCode { get; }
Property Value
TlsCiphersuiteName
public string? TlsCiphersuiteName { get; }
Property Value
TlsPeerCertificate
public TlsCertificate? TlsPeerCertificate { get; }
Property Value
TlsPeerCertificateErrors
public TlsCertificateFlags TlsPeerCertificateErrors { get; }
Property Value
TlsProtocolVersion
public TlsProtocolVersion TlsProtocolVersion { get; }
Property Value
Uri
public Uri Uri { get; set; }
Property Value
Methods
AddFlags(MessageFlags)
public void AddFlags(MessageFlags flags)
Parameters
flags
MessageFlags
DisableFeature(Type)
public void DisableFeature(Type featureType)
Parameters
featureType
Type
GetConnectionId()
public ulong GetConnectionId()
Returns
GetFirstParty()
public Uri GetFirstParty()
Returns
GetFlags()
public MessageFlags GetFlags()
Returns
GetForceHttp1()
[Version("3.4")]
public bool GetForceHttp1()
Returns
GetGType()
public static Type GetGType()
Returns
GetHttpVersion()
public HTTPVersion GetHttpVersion()
Returns
GetIsOptionsPing()
public bool GetIsOptionsPing()
Returns
GetIsTopLevelNavigation()
public bool GetIsTopLevelNavigation()
Returns
GetMethod()
public string GetMethod()
Returns
GetMetrics()
public MessageMetrics? GetMetrics()
Returns
GetPriority()
public MessagePriority GetPriority()
Returns
GetReasonPhrase()
public string? GetReasonPhrase()
Returns
GetRemoteAddress()
public SocketAddress? GetRemoteAddress()
Returns
GetRequestHeaders()
public MessageHeaders GetRequestHeaders()
Returns
GetResponseHeaders()
public MessageHeaders GetResponseHeaders()
Returns
GetSiteForCookies()
public Uri GetSiteForCookies()
Returns
GetStatus()
public Status GetStatus()
Returns
GetTlsCiphersuiteName()
public string GetTlsCiphersuiteName()
Returns
GetTlsPeerCertificate()
public TlsCertificate? GetTlsPeerCertificate()
Returns
GetTlsPeerCertificateErrors()
public TlsCertificateFlags GetTlsPeerCertificateErrors()
Returns
GetTlsProtocolVersion()
public TlsProtocolVersion GetTlsProtocolVersion()
Returns
GetUri()
public Uri GetUri()
Returns
IsFeatureDisabled(Type)
public bool IsFeatureDisabled(Type featureType)
Parameters
featureType
Type
Returns
IsKeepalive()
public bool IsKeepalive()
Returns
New(string, string)
public static Message? New(string method, string uriString)
Parameters
Returns
NewFromEncodedForm(string, string, string)
public static Message? NewFromEncodedForm(string method, string uriString, string encodedForm)
Parameters
Returns
NewFromMultipart(string, Multipart)
public static Message? NewFromMultipart(string uriString, Multipart multipart)
Parameters
Returns
NewFromUri(string, Uri)
public static Message NewFromUri(string method, Uri uri)
Parameters
Returns
NewOptionsPing(Uri)
public static Message NewOptionsPing(Uri baseUri)
Parameters
baseUri
Uri
Returns
QueryFlags(MessageFlags)
public bool QueryFlags(MessageFlags flags)
Parameters
flags
MessageFlags
Returns
RemoveFlags(MessageFlags)
public void RemoveFlags(MessageFlags flags)
Parameters
flags
MessageFlags
SetFirstParty(Uri)
public void SetFirstParty(Uri firstParty)
Parameters
firstParty
Uri
SetFlags(MessageFlags)
public void SetFlags(MessageFlags flags)
Parameters
flags
MessageFlags
SetForceHttp1(bool)
[Version("3.4")]
public void SetForceHttp1(bool value)
Parameters
value
bool
SetIsOptionsPing(bool)
public void SetIsOptionsPing(bool isOptionsPing)
Parameters
isOptionsPing
bool
SetIsTopLevelNavigation(bool)
public void SetIsTopLevelNavigation(bool isTopLevelNavigation)
Parameters
isTopLevelNavigation
bool
SetMethod(string)
public void SetMethod(string method)
Parameters
method
string
SetPriority(MessagePriority)
public void SetPriority(MessagePriority priority)
Parameters
priority
MessagePriority
SetRequestBody(string?, InputStream?, long)
public void SetRequestBody(string? contentType, InputStream? stream, long contentLength)
Parameters
contentType
stringstream
InputStreamcontentLength
long
SetRequestBodyFromBytes(string?, Bytes?)
public void SetRequestBodyFromBytes(string? contentType, Bytes? bytes)
Parameters
SetSiteForCookies(Uri?)
public void SetSiteForCookies(Uri? siteForCookies)
Parameters
siteForCookies
Uri
SetTlsClientCertificate(TlsCertificate?)
public void SetTlsClientCertificate(TlsCertificate? certificate)
Parameters
certificate
TlsCertificate
SetUri(Uri)
public void SetUri(Uri uri)
Parameters
uri
Uri
TlsClientCertificatePasswordRequestComplete()
public void TlsClientCertificatePasswordRequestComplete()
Events
OnAcceptCertificate
public event ReturningSignalHandler<Message, Message.AcceptCertificateSignalArgs, bool> OnAcceptCertificate
Event Type
OnAuthenticate
public event ReturningSignalHandler<Message, Message.AuthenticateSignalArgs, bool> OnAuthenticate
Event Type
OnContentSniffed
public event SignalHandler<Message, Message.ContentSniffedSignalArgs> OnContentSniffed
Event Type
OnFinished
public event SignalHandler<Message> OnFinished
Event Type
OnGotBody
public event SignalHandler<Message> OnGotBody
Event Type
OnGotBodyData
public event SignalHandler<Message, Message.GotBodyDataSignalArgs> OnGotBodyData
Event Type
OnGotHeaders
public event SignalHandler<Message> OnGotHeaders
Event Type
OnGotInformational
public event SignalHandler<Message> OnGotInformational
Event Type
OnHstsEnforced
public event SignalHandler<Message> OnHstsEnforced
Event Type
OnNetworkEvent
public event SignalHandler<Message, Message.NetworkEventSignalArgs> OnNetworkEvent
Event Type
OnRequestCertificate
public event ReturningSignalHandler<Message, Message.RequestCertificateSignalArgs, bool> OnRequestCertificate
Event Type
OnRequestCertificatePassword
public event ReturningSignalHandler<Message, Message.RequestCertificatePasswordSignalArgs, bool> OnRequestCertificatePassword
Event Type
OnRestarted
public event SignalHandler<Message> OnRestarted
Event Type
OnStarting
public event SignalHandler<Message> OnStarting
Event Type
OnWroteBody
public event SignalHandler<Message> OnWroteBody
Event Type
OnWroteBodyData
public event SignalHandler<Message, Message.WroteBodyDataSignalArgs> OnWroteBodyData
Event Type
OnWroteHeaders
public event SignalHandler<Message> OnWroteHeaders