mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
Merge pull request #4698 from Auruss/master
added continue for hapi IReply
This commit is contained in:
Vendored
+3
-4
@@ -241,10 +241,9 @@ declare module "hapi" {
|
||||
/** Note that if result is a Stream with a statusCode property, that status code will be used as the default response code. */
|
||||
<T>(result: string|number|boolean|Buffer|stream.Stream | Promise<T> | T): Response;
|
||||
|
||||
//////// Returns control back to the framework without setting a response. If called in the handler, the response defaults to an empty payload with status code 200.
|
||||
//////
|
||||
////// The data argument is only used for passing back authentication data and is ignored elsewhere.
|
||||
////////continue(credentialData?: any): void;
|
||||
/** Returns control back to the framework without setting a response. If called in the handler, the response defaults to an empty payload with status code 200.
|
||||
* The data argument is only used for passing back authentication data and is ignored elsewhere. */
|
||||
continue(credentialData?: any): void;
|
||||
|
||||
/** Transmits a file from the file system. The 'Content-Type' header defaults to the matching mime type based on filename extension. The response flow control rules do not apply. */
|
||||
file(
|
||||
|
||||
Reference in New Issue
Block a user