Skip to content

Commit 969a0e1

Browse files
authored
Merge pull request alexa-samples#43 from KartikChugh/patch-1
Correct handler details section
2 parents 10db533 + 2aca9cb commit 969a0e1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎module-1/README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ _To define how your skill responds to a JSON request, you will define a handler
7676
There are two pieces to a handler:
7777
* **can_handle()** function
7878
* **handle()** function
79+
7980
The **can_handle()** function is where you define what requests the handler responds to. The **handle()** function returns a response to the user.
8081
If your skill receives a request, the **can_handle()** function within each handler determines whether or not that handler can service the request.
8182
In this case, the user wants to launch the skill, which is a **LaunchRequest**. Therefore, the **can_handle()** function within the **LaunchRequestHandler** will let the SDK know it can fulfill the request. In computer terms, the **can_handle** returns _true_ to confirm it can do the work.

0 commit comments

Comments
 (0)