public static function setResponse(ResponseInterface $response)
    {
        $coroutineId = self::getCoroutineId();
        self::$context[$coroutineId][self::RESPONSE_KEY] = $response;
    }
public static function setResponse(ResponseInterface $response)
    {
        $coroutineId = self::getCoroutineId();
        self::$context[$coroutineId][self::RESPONSE_KEY] = $response;
    }
public static function setResponse ( ResponseInterface $ response ) { $ coroutineId = self :: getCoroutineId ( ) ; self :: $ context [ $ coroutineId ] [ self :: RESPONSE_KEY ] = $ response ; }
Set the object of response

@param ResponseInterface $response
Set the object of response