@oino-ts/types 0.4.5 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -77,6 +77,12 @@ export declare class OINOResult {
|
|
|
77
77
|
*
|
|
78
78
|
*/
|
|
79
79
|
printLog(): string;
|
|
80
|
+
/**
|
|
81
|
+
* Get a Response object from the result values.
|
|
82
|
+
*
|
|
83
|
+
* @param headers HTTP headers (overrides existing values)
|
|
84
|
+
*/
|
|
85
|
+
getStatusResponse(headers?: Record<string, string>): Response;
|
|
80
86
|
}
|
|
81
87
|
/**
|
|
82
88
|
* Specialized result for HTTP responses.
|
|
@@ -106,5 +112,5 @@ export declare class OINOHttpResult extends OINOResult {
|
|
|
106
112
|
*
|
|
107
113
|
* @param headers HTTP headers (overrides existing values)
|
|
108
114
|
*/
|
|
109
|
-
|
|
115
|
+
getHttpResponse(headers?: Record<string, string>): Response;
|
|
110
116
|
}
|