[Modify] Replace it

master
sta 6 years ago
parent 4e003b9c7a
commit 52d5d61388

@ -108,7 +108,8 @@ namespace Example3
res.ContentEncoding = Encoding.UTF8; res.ContentEncoding = Encoding.UTF8;
} }
res.WriteContent (contents); res.ContentLength64 = contents.LongLength;
res.Close (contents, true);
}; };
// Add the WebSocket services. // Add the WebSocket services.

Loading…
Cancel
Save