Skip to content

Commit d656de1

Browse files
orangainazu
authored andcommitted
Fix typos in connect (#119)
* chore(connect): fix typo s/多いだと/多いためだと/ * chore(connect): fix typo s/返しことができる/返したりできる/ * chore(connect): fix as pointed out in review comment #119 (comment)
1 parent 4aab60b commit d656de1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: ja/connect/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Echoサーバとは、送られてきたリクエストの内容をそのまま
2323
```
2424

2525
`app.use(middleware)` という形で、 _middleware_ と呼ばれる関数には`request``response`といったオブジェクトが渡されます。
26-
この`request``response`_middleware_ で処理してログを取ったり、任意のレスポンスを返しことができるようになっています
26+
この`request``response`_middleware_ で処理することで、ログを取ったり、任意のレスポンスを返すことができます
2727

2828
Echoサーバでは `req.pipe(res);` という形でリクエストをそのままレスポンスとして流す事で実現されています。
2929

@@ -171,7 +171,7 @@ Connect自体の機能は少ないですが、その分 _middleware_ の種類
171171

172172
また、それぞれの _middleware_ が小さな単機能となっていて、それを組み合わせて使うように作られているケースが多いです。
173173

174-
これは、 _middleware_ が層として重なっている作り、つまり _middleware stack_ の形を取ることが多いだと言えます
174+
これは、 _middleware_ が層として重なっている作り、つまり _middleware stack_ の形を取ることが多いためだと言えます
175175

176176
![pylons_as_onion](img/pylons_as_onion.png)
177177

0 commit comments

Comments
 (0)