Skip to content

Commit e91e2e6

Browse files
authored
Merge pull request #75239 from ochromy/SRVOCF-514
[SRVOCF-514] Remove context object function example
2 parents 2fa22bb + 3e9e860 commit e91e2e6

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)