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

Update BinaryProtocol.md #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
8 changes: 4 additions & 4 deletions docs/BinaryProtocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -365,22 +365,22 @@ for examples of commands that include quiet variants.

### Data Types

Possible values of the one-byte field which is a bit-filed.
Possible values of the one-byte field which is a bit-field.

| Bit | Description |
| -----|-------------|
| 0x01 | JSON |
| 0x02 | Snappy compressed |
| 0x04 | Extended attributes (XATTR) |

If no bits is set the datatype is considered to be RAW. In order to utilize
If no bit is set the datatype is considered to be RAW. In order to utilize
the datatype bits the client needs to notify the server that it supports
datatype bits by performing a successful HELLO with the DATATYPE feature.

## Commands

### Introduction
The communication is initially initiated by a request being sent from the
The communication is initiated by a request being sent from the
client to the server, and the server will respond to the request with
zero or multiple packets for each request. The client is always the
initiator of communication unless it enables the [`duplex`](#0x1f-helo)
Expand Down Expand Up @@ -1497,7 +1497,7 @@ The key should contain the agent name
The value should contain the various features to enable. Each feature is
a two byte value in network byte order.

The following features is defined:
The following features are defined:

| Value | Feature |
|--------|---------|
Expand Down