public function execResize($exec, $w, $h)
    {
        return $this->browser->post(
            $this->uri->expand(
                '/exec/{exec}/resize{?w,h}',
                array(
                    'exec' => $exec,
                    'w' => $w,
                    'h' => $h
                )
            )
        )->then(array($this->parser, 'expectEmpty'));
    }
public function execResize($exec, $w, $h)
    {
        return $this->browser->post(
            $this->uri->expand(
                '/exec/{exec}/resize{?w,h}',
                array(
                    'exec' => $exec,
                    'w' => $w,
                    'h' => $h
                )
            )
        )->then(array($this->parser, 'expectEmpty'));
    }
public function execResize ( $ exec , $ w , $ h ) { return $ this -> browser -> post ( $ this -> uri -> expand ( '/exec/{exec}/resize{?w,h}' , array ( 'exec' => $ exec , 'w' => $ w , 'h' => $ h ) ) ) -> then ( array ( $ this -> parser , 'expectEmpty' ) ) ; }
Resizes the tty session used by the exec command id.

This API is valid only if tty was specified as part of creating and starting the exec command.

@param string $exec exec ID
@param int    $w    TTY width
@param int    $h    TTY height
@return PromiseInterface Promise<null>
@link https://docs.docker.com/reference/api/docker_remote_api_v1.15/#exec-resize
Resizes the tty session used by the exec command id .