Skip to content

Commit 62b878b

Browse files
committed
Add Streaming interface
1 parent 06f7f03 commit 62b878b

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?php namespace com\amazon\aws\lambda;
2+
3+
interface Streaming {
4+
5+
/**
6+
* Invoke this lambda with the given event and context, streaming the
7+
* response using the given stream.
8+
*
9+
* @param var $event
10+
* @param com.amazon.aws.lambda.Stream $stream
11+
* @param com.amazon.aws.lambda.Context $context
12+
* @return void
13+
*/
14+
public function handle($event, $stream, $context);
15+
}

0 commit comments

Comments
 (0)