mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
11 lines
421 B
TypeScript
11 lines
421 B
TypeScript
import http = require('http');
|
|
import BufferStream = require('./index');
|
|
|
|
export = PostBuffer;
|
|
declare class PostBuffer extends BufferStream {
|
|
/** for if you want to get all the post data from a http server request and do some db request before. */
|
|
constructor(req: http.IncomingMessage);
|
|
/** set a callback to get all post data from a http server request */
|
|
onEnd(callback: (data: any) => void): void;
|
|
}
|