Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SerializeToStreamAsync() [2/2]

override Task System.Net.Http.FormUrlEncodedContent.SerializeToStreamAsync ( Stream stream,
TransportContext? context,
CancellationToken cancellationToken )
inlineprotectedvirtual

Reimplemented from System.Net.Http.ByteArrayContent.

Definition at line 47 of file FormUrlEncodedContent.cs.

48 {
49 if (!(GetType() == typeof(FormUrlEncodedContent)))
50 {
51 return base.SerializeToStreamAsync(stream, context, cancellationToken);
52 }
54 }
Task SerializeToStreamAsyncCore(Stream stream, CancellationToken cancellationToken)
FormUrlEncodedContent(IEnumerable< KeyValuePair< string, string > > nameValueCollection)

References System.cancellationToken, System.Net.Http.ByteArrayContent.SerializeToStreamAsyncCore(), and System.stream.