Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

translation to ru #2

Merged
merged 1 commit into from
Jul 4, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions locale/ru/docs/guides/anatomy-of-an-http-transaction.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
title: Anatomy of an HTTP Transaction
title: Анатомия HTTP Транзакции
layout: docs.hbs
---

# Anatomy of an HTTP Transaction
# Анатомия HTTP Транзакции

The purpose of this guide is to impart a solid understanding of the process of
Node.js HTTP handling. We'll assume that you know, in a general sense, how HTTP
Expand All @@ -12,11 +12,20 @@ assume a bit of familiarity with Node.js [`EventEmitters`][] and [`Streams`][].
If you're not quite familiar with them, it's worth taking a quick read through
the API docs for each of those.

## Create the Server
Цель данного руководства дать твердое понимание процесса обработки HTTP в
Node.js. Мы предположим, что вам известно, в общих чертах, как работают HTTP
запросы, в независимости от языка програмирования и среды разработки. Мы
так же предположим, что у вас есть некоторое представление о [`EventEmitters`][]
и [`Streams`][] в Node.js. Если вы недостаточно знакомы с этими модулями, стоит
пролистать их API документацию.

## Создание Сервера

Any node web server application will at some point have to create a web server
object. This is done by using [`createServer`][].

Рано или поздно любое веб-сервер приложение в node должно создать объект веб-сервера.

```javascript
const http = require('http');

Expand Down