Unverified Commit ec34806c authored by Saravjeet 'Aman' Singh's avatar Saravjeet 'Aman' Singh Committed by GitHub
Browse files

Update README.md (#3543)

prettify
parent f141329f
......@@ -294,8 +294,8 @@ the structure definition.
Another important Redis data structure is the one defining a client.
In the past it was called `redisClient`, now just `client`. The structure
has many fields, here we'll just show the main ones:
struct client {
```c
struct client {
int fd;
sds querybuf;
int argc;
......@@ -304,9 +304,9 @@ has many fields, here we'll just show the main ones:
int flags;
list *reply;
char buf[PROTO_REPLY_CHUNK_BYTES];
... many other fields ...
}
// ... many other fields ...
}
```
The client structure defines a *connected client*:
* The `fd` field is the client socket file descriptor.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment