Skip to content

Commit 3b70803

Browse files
committed
Rewording and add plugin page to the index
1 parent ba82e4b commit 3b70803

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

plugins/always-seekable-body-plugin.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Always Seekable Body Plugin
22
===========================
33

4-
The ``AlwaysSeekableBodyPlugin`` ensure that body of the request and body of the response are always seekable.
5-
This allows a lot of components that read the stream to rewind it in order to be used later by another component::
4+
``AlwaysSeekableBodyPlugin`` ensure that the body used in request and response is always seekable.
5+
This allows a lot of components, reading the stream, to rewind it in order to be used later by another component::
66

77
use Http\Discovery\HttpClientDiscovery;
88
use Http\Client\Common\PluginClient;
@@ -19,7 +19,7 @@ This allows a lot of components that read the stream to rewind it in order to be
1919
[$alwaysSeekableBodyPlugin]
2020
);
2121

22-
The plugin supports the following options:
22+
This plugin supports the following options (which are passed to the ``BufferedStream`` class):
2323

2424
* ``use_file_buffer``: Whether it should use a temporary file to buffer the body of a stream if it's too big
2525
* ``memory_buffer_size``: Maximum memory to use for buffering the stream before it switch to a file

plugins/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ request or you can even start a completely new request. This gives you full cont
1010

1111
introduction
1212
build-your-own
13+
always-seekable-body-plugin
1314
authentication
1415
cache
1516
content-length

0 commit comments

Comments
 (0)