Class contains method setRequest(RequestInterface $request), his abstact code: Request body already sets: $request->getBody()->write('...'); I want send this request with other body content, but dont know how: 1. StreamInterface don't have methods as PHP ftruncate() 2. Constructor not defined in StreamInterface: can't use $request->withBody() because dont know how create clone of that Steam object without contents.
-- You received this message because you are subscribed to the Google Groups "PHP Framework Interoperability Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to php-fig+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/84a56774-1dbf-4ec3-b906-b29e8b322add%40googlegroups.com.