IServerConnectionSendAsync Method
Sends a raw package to the client
Namespace: ARSoft.Tools.Net.DnsAssembly: ARSoft.Tools.Net (in ARSoft.Tools.Net.dll) Version: 3.6.1+aaafdcd61f068318c11734f7b3c59c69371c0549
Task<bool> SendAsync(
DnsRawPackage package,
CancellationToken token = default
)
Function SendAsync (
package As DnsRawPackage,
Optional token As CancellationToken = Nothing
) As Task(Of Boolean)
Task<bool>^ SendAsync(
DnsRawPackage^ package,
CancellationToken token = CancellationToken()
)
abstract SendAsync :
package : DnsRawPackage *
?token : CancellationToken
(* Defaults:
let _token = defaultArg token new CancellationToken()
*)
-> Task<bool>
- package DnsRawPackage
- The package, which should be sent to the client
- token CancellationToken (Optional)
- The token to monitor cancellation requests
TaskBooleantrue, of the package could be sent to the client; otherwise, false