summaryrefslogtreecommitdiffhomepage
path: root/CmdLine.hs
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2017-04-22 15:14:03 -0400
committerJoey Hess <joeyh@joeyh.name>2017-04-22 15:16:10 -0400
commit3adfdf1ae27cd4b6419ce5be14ffb3712339065a (patch)
tree9ce265ece85d2e3829eba85d964f2a123699f908 /CmdLine.hs
parent7987157bfd99b8e2ec78f5030a49c2e16bf08321 (diff)
downloaddebug-me-3adfdf1ae27cd4b6419ce5be14ffb3712339065a.tar.gz
add framing protocol for websockets
Diffstat (limited to 'CmdLine.hs')
-rw-r--r--CmdLine.hs8
1 files changed, 5 insertions, 3 deletions
diff --git a/CmdLine.hs b/CmdLine.hs
index 663c63e..f00f0be 100644
--- a/CmdLine.hs
+++ b/CmdLine.hs
@@ -21,16 +21,18 @@ data UserOpts = UserOpts
{ cmdToRun :: Maybe (String, [String])
}
+type UrlString = String
+
data DeveloperOpts = DeveloperOpts
- { debugUrl :: String
+ { debugUrl :: UrlString
}
data DownloadOpts = DownloadOpts
- { downloadUrl :: String
+ { downloadUrl :: UrlString
}
data WatchOpts = WatchOpts
- { watchUrl :: String
+ { watchUrl :: UrlString
}
data GraphvizOpts = GraphvizOpts