[Modify] Replace it
This commit is contained in:
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…
Reference in New Issue
Block a user