{-# LANGUAGE OverloadedStrings #-}
module Network.MPD.Applicative.Connection
( password
, ping
) where
import Network.MPD.Applicative.Internal
import Network.MPD.Core
password :: Password -> Command ()
password :: [Char] -> Command ()
password [Char]
pwd = Parser () -> [[Char]] -> Command ()
forall a. Parser a -> [[Char]] -> Command a
Command Parser ()
emptyResponse [[Char]
"password " [Char] -> [Char] -> [Char]
forall a. [a] -> [a] -> [a]
++ [Char]
pwd]
ping :: Command ()
ping :: Command ()
ping = Parser () -> [[Char]] -> Command ()
forall a. Parser a -> [[Char]] -> Command a
Command Parser ()
emptyResponse [[Char]
"ping"]