src/Client/Window.php
public function showMessage(int $type, string $message): Promise
    {
        return $this->handler->notify('window/showMessage', ['type' => $type, 'message' => $message]);
    }
public function showMessage(int $type, string $message): Promise
    {
        return $this->handler->notify('window/showMessage', ['type' => $type, 'message' => $message]);
    }
public function showMessage ( int $ type , string $ message ) : Promise { return $ this -> handler -> notify ( 'window/showMessage' , [ 'type' => $ type , 'message' => $ message ] ) ; }
The show message notification is sent from a server to a client
to ask the client to display a particular message in the user interface.

@param int $type
@param string $message
@return Promise <void>
The show message notification is sent from a server to a client to ask the client to display a particular message in the user interface .