mirror of
https://github.com/MercuryWorkshop/adrift.git
synced 2025-05-13 06:10:01 -04:00
add dynamic
This commit is contained in:
parent
ebe1f18b68
commit
f5e0c4202e
20 changed files with 1782 additions and 252 deletions
|
@ -122,6 +122,7 @@ export class Client {
|
|||
}
|
||||
|
||||
sendHTTPResponseChunk(seq: number, chunk: Buffer) {
|
||||
if (!chunk.copy) return;
|
||||
const buf = Buffer.alloc(2 + 1 + chunk.length);
|
||||
let cursor = 0;
|
||||
cursor = buf.writeUInt16BE(seq, cursor);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue