vcs-web-hook-parse-0.2.0.0: Parse development platform web hook messages.

Safe HaskellNone
LanguageHaskell2010

Web.Hook.GitLab

Synopsis

Documentation

type Url = Text Source #

type File = Text Source #

data User Source #

Constructors

User 

parse :: ByteString -> Either String Event Source #

Parse a JSON string (the body of the HTTP request) into event information. If parsing fails, return Left an error message.