gamadoleo
5d07048117
Update SocketTrait.php
A suggestion/question would not be interesting to define a
stream_set_timeout (), since the timeout set when opening the socket connection is for connection establishment only and not for read data?
6 years ago
Paul Rock
66e0ef7ca2
additional exception if login/pass pair is incorrect, from now it will not wait until repeat loop of done
6 years ago
Paul Rock
85fcb51e36
equal() method added to Query class for creating update/create queries for router, part of logic moved from where() to world()
6 years ago
Paul Rock
ca205d9df3
query type fix (it was only string of enpoint) in Client class and ClientInterface
6 years ago
Paul Rock
b83f4f4981
complex check of variables in where attr of query method
6 years ago
Paul Rock
da29460d73
tunes of "where" method in Query class
6 years ago
Paul Rock
0694a344a1
tests of ShortsTrait will be ignored
6 years ago
Paul Rock
21e0c3cc35
write method of Client class is marked as deprecated
6 years ago
Paul Rock
7110ab5c05
small fixes
6 years ago
Paul Rock
243477367f
advanced query implemented to Client class
6 years ago
Paul Rock
dbc56205e0
ton of tests added
6 years ago
Paul Rock
d53bafd882
tests of Query class updated
6 years ago
Paul Rock
239ab7e43c
tune of documentation and response classes
6 years ago
Paul Rock
039c20c837
smart logic like in ORM added to where method of Query class
6 years ago
Paul Rock
6854cf3c31
typo fix
6 years ago
Paul Rock
237a749bf7
getConfig and setConfig removed from Client class
6 years ago
Paul Rock
3d9b168dc6
methods where(), tag(), operations() added to Query class
6 years ago
Paul Rock
42c7e208cc
tune of returns in client interface
6 years ago
Paul Rock
1ba6684c78
additional aliases added
6 years ago
Paul Rock
ca2646b2be
tune of code with according to PSR standards, readLiterator fix, now Client object will source of new object
6 years ago
Paul Rock
19aefc2100
ResponseIterator moved to room of sources, small tune of codebase in according with PSR standars, flush method removed
6 years ago
arily
9a267d0710
Delete .DS_Store
6 years ago
arily
ba6dd11697
~
6 years ago
arily
390fb733b3
Iterator
6 years ago
arily
e67b62b58f
Iterator
6 years ago
arily
ccd0d5054a
Iterator
6 years ago
Paul Rock
fbdbe0ac88
non-used code removed
7 years ago
Paul Rock
abed8302c4
rosario method added to Client as alternative and safe way of response parsing instread of pure and ugly parseResponse, small refatoring of Client class
7 years ago
Paul Rock
8e33c0791c
tune of ClientInterface, short methods removed
7 years ago
Paul Rock
84743b12e0
Rosario class converted to method of Client
7 years ago
Paul Rock
6ef7d72178
short methods was moved to separated trait
7 years ago
Paul Rock
6b0e32eea3
Rosario class added to library for work with response from RouterOS as with simple chunked array
7 years ago
Jesse Ross
57564e21af
Fix code style
7 years ago
Jesse Ross
62b3590951
When parsing response with regex, check resulting array of matches better to avoid undefined index notices
7 years ago
Paul Rock
ecc2bd87c2
a lot of tunes for correct work on 32 bit operation systems
7 years ago
Paul Rock
a18c165b5a
encoding of string lenght is updated by recommendation from official docs
7 years ago
Paul Rock
efd9e83179
code style finetyne
7 years ago
Matthieu Racine
a1610f8ccb
refactor communication using stream
7 years ago
Matthieu Racine
b00d896361
Fix #2 : Change read logic
7 years ago
Paul Rock
dac8fb6c26
small fix of login method
7 years ago
Paul Rock
df4e0a1dd6
endless loop prevention added to login method of Client class
7 years ago
Matthieu Racine
d5b9867bed
Fix #3 : Add test on responses count when login, try with legacy=true when multiple responses
7 years ago
Paul Rock
83408c0868
fine tune of code, detailed tests added
7 years ago
Paul Rock
c080af6881
additinal unit tests added
7 years ago
Paul Rock
059c3fb199
more methods moved to socket trait
7 years ago
Paul Rock
ab74b7f788
some methods for work with socket moved to SocketTrait
7 years ago
Paul Rock
d9c4856b24
in Client object excluded step with reading empty line
7 years ago
Paul Rock
fa615d670a
ArrayHelper update, unit tests added
7 years ago
Paul Rock
f03f2e28d4
queries writing simplification
7 years ago
Paul Rock
9497fc04ef
simplification
7 years ago