Skip to content

Commit

Permalink
Fix typo in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hboon authored Dec 30, 2020
1 parent 0d9843d commit f0b77b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ You do this by registering request handlers. You have the flexibility to registe
server.register(handler: PersonalSignHandler(for: self, server: server, wallet: wallet))
```

Handlers are asked (in order of registration) whether they can handle each request. First handler that returns `true` from `canHandle(request:)` method will get the `hanlde(request:)` call. All other handlers will be skipped.
Handlers are asked (in order of registration) whether they can handle each request. First handler that returns `true` from `canHandle(request:)` method will get the `handle(request:)` call. All other handlers will be skipped.

In the request handler, check the incoming request's method in `canHandle` implementation, and handle actual request in the `handle(request:)` implementation.

Expand Down

0 comments on commit f0b77b6

Please sign in to comment.