From e716df3f995bec8358cdef0a2656f7c5ec575ba5 Mon Sep 17 00:00:00 2001 From: Yevgeny Date: Thu, 4 Jul 2019 20:37:37 +0300 Subject: [PATCH] translation to ru --- .../docs/guides/anatomy-of-an-http-transaction.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/locale/ru/docs/guides/anatomy-of-an-http-transaction.md b/locale/ru/docs/guides/anatomy-of-an-http-transaction.md index 289514b9c5537..7fe3034403c38 100644 --- a/locale/ru/docs/guides/anatomy-of-an-http-transaction.md +++ b/locale/ru/docs/guides/anatomy-of-an-http-transaction.md @@ -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 @@ -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');