Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
vendor
/
psr
/
cache
:
PhpiredisStreamConnection.php
Advanced Search
Upload
New Item
Settings
JavaScript
ABAP
ABC
ActionScript
ADA
Apache Conf
AsciiDoc
ASL
Assembly x86
AutoHotKey
Apex
BatchFile
Bro
C and C++
C9Search
Cirru
Clojure
Cobol
CoffeeScript
ColdFusion
C#
Csound Document
Csound
Csound Score
CSS
Curly
D
Dart
Diff
Dockerfile
Dot
Drools
Edifact
Eiffel
EJS
Elixir
Elm
Erlang
Forth
Fortran
FSharp
FSL
FreeMarker
Gcode
Gherkin
Gitignore
Glsl
Gobstones
Go
GraphQLSchema
Groovy
HAML
Handlebars
Haskell
Haskell Cabal
haXe
Hjson
HTML
HTML (Elixir)
HTML (Ruby)
INI
Io
Jack
Jade
Java
JSON
JSONiq
JSP
JSSM
JSX
Julia
Kotlin
LaTeX
LESS
Liquid
Lisp
LiveScript
LogiQL
LSL
Lua
LuaPage
Lucene
Makefile
Markdown
Mask
MATLAB
Maze
MEL
MIXAL
MUSHCode
MySQL
Nix
NSIS
Objective-C
OCaml
Pascal
Perl
Perl 6
pgSQL
PHP (Blade Template)
PHP
Puppet
Pig
Powershell
Praat
Prolog
Properties
Protobuf
Python
R
Razor
RDoc
Red
RHTML
RST
Ruby
Rust
SASS
SCAD
Scala
Scheme
SCSS
SH
SJS
Slim
Smarty
snippets
Soy Template
Space
SQL
SQLServer
Stylus
SVG
Swift
Tcl
Terraform
Tex
Text
Textile
Toml
TSX
Twig
Typescript
Vala
VBScript
Velocity
Verilog
VHDL
Visualforce
Wollok
XML
XQuery
YAML
Django
Chrome
Clouds
Crimson Editor
Dawn
Dreamweaver
Eclipse
GitHub
IPlastic
Solarized Light
TextMate
Tomorrow
XCode
Kuroir
KatzenMilch
SQL Server
Ambiance
Chaos
Clouds Midnight
Dracula
Cobalt
Gruvbox
Green on Black
idle Fingers
krTheme
Merbivore
Merbivore Soft
Mono Industrial
Monokai
Pastel on dark
Solarized Dark
Terminal
Tomorrow Night
Tomorrow Night Blue
Tomorrow Night Bright
Tomorrow Night 80s
Twilight
Vibrant Ink
8
10
11
12
13
14
15
16
17
18
20
22
24
26
30
Back
Back Up
Normal Editor
Save
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<
?
php
/*
* This file is part of the Predis package.
*
* (c) 2009-2020 Daniele Alessandri
* (c) 2021-2023 Till Krüss
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace
Predis
\
Connection
;
use
Closure
;
use
InvalidArgumentException
;
use
Predis
\
Command
\
CommandInterface
;
use
Predis
\
NotSupportedException
;
use
Predis
\
Response
\
Error
as
ErrorResponse
;
use
Predis
\
Response
\
Status
as
StatusResponse
;
/**
* This class provides the implementation of a Predis connection that uses PHP's
* streams for network communication and wraps the phpiredis C extension (PHP
* bindings for hiredis) to parse and serialize the Redis protocol.
*
* This class is intended to provide an optional low-overhead alternative for
* processing responses from Redis compared to the standard pure-PHP classes.
* Differences in speed when dealing with short inline responses are practically
* nonexistent, the actual speed boost is for big multibulk responses when this
* protocol processor can parse and return responses very fast.
*
* For instructions on how to build and install the phpiredis extension, please
* consult the repository of the project.
*
* The connection parameters supported by this class are:
*
* - scheme: it can be either 'redis', 'tcp' or 'unix'.
* - host: hostname or IP address of the server.
* - port: TCP port of the server.
* - path: path of a UNIX domain socket when scheme is 'unix'.
* - timeout: timeout to perform the connection.
* - read_write_timeout: timeout of read / write operations.
* - async_connect: performs the connection asynchronously.
* - tcp_nodelay: enables or disables Nagle's algorithm for coalescing.
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX