KeenClient-PHP icon indicating copy to clipboard operation
KeenClient-PHP copied to clipboard

2.5.7 missing addSubscriber()

Open J-who opened this issue 7 years ago • 2 comments

With the latest update, seems that the addSubscriber() method has been removed? I was using the BackoffPlugin to help deal with #82

J-who avatar Mar 04 '17 03:03 J-who

Probably a side effect of Guzzle changes; the class KeenIOClient used to extend has been split into two. Will have a look if there's a solution to that :smile:

EmilyShepherd avatar Mar 04 '17 09:03 EmilyShepherd

Hmmm, looks like Guzzle doesn't use the addSubscriber anymore, instead you have to modify the stack with middleware.

EmilyShepherd avatar Mar 12 '17 16:03 EmilyShepherd