[Modify] Replace it

This commit is contained in:
sta 2020-01-22 19:50:52 +09:00
parent 4e003b9c7a
commit 52d5d61388

View File

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