Skip to content

Commit 3e9e860

Browse files
committed
Remove context object function example for SRVCF-514
q
1 parent 1436c3d commit 3e9e860

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

modules/serverless-nodejs-functions-context-objects.adoc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,6 @@
88

99
Functions are invoked by providing a `context` object as the first parameter. This object provides access to the incoming HTTP request information.
1010

11-
.Example context object
12-
[source,javascript]
13-
----
14-
function handle(context, data)
15-
----
16-
1711
This information includes the HTTP request method, any query strings or headers sent with the request, the HTTP version, and the request body. Incoming requests that contain a `CloudEvent` attach the incoming instance of the CloudEvent to the context object so that it can be accessed by using `context.cloudevent`.
1812

1913
[id="serverless-nodejs-functions-context-objects-methods_{context}"]

0 commit comments

Comments
 (0)