# Refactor \`add_request_handler\` to respond via a \`Response\` struct · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/989b82d664fe1e388ac6ee056e8ef4ed4dc21a0b)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 989b82d664fe1e388ac6ee056e8ef4ed4dc21a0b

Requested commit: 989b82d664fe1e388ac6ee056e8ef4ed4dc21a0b

Commit: 989b82d664fe1e388ac6ee056e8ef4ed4dc21a0b

Tree: a58782e195fd850552fd5a92ac36c11c6de65c3c

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Refactor `add_request_handler` to respond via a `Response` struct

This also removes `add_sync_request_handler`.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

```

## Parents

- [9555b93bca0e9cd265c4cd50d267cd9855a99d39](https://git.cafe/gitcafe/zed/commit/9555b93bca0e9cd265c4cd50d267cd9855a99d39?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/989b82d664fe1e388ac6ee056e8ef4ed4dc21a0b?format=markdown)
