ts types fo http binary receiver spev 1.0
Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
parent
23b0648a07
commit
596bd3fd64
|
@ -64,6 +64,14 @@ export class StructuredHTTPReceiver {
|
||||||
public parse(payload: any, headers: any): Cloudevent;
|
public parse(payload: any, headers: any): Cloudevent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* HTTP receiver for Structured mode
|
||||||
|
*/
|
||||||
|
export class BinaryHTTPReceiver {
|
||||||
|
public check(payload: any, headers: any): void;
|
||||||
|
public parse(payload: any, headers: any): Cloudevent;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Function to create CloudEvents instances
|
* Function to create CloudEvents instances
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue