package irc-client

  1. Overview
  2. Docs
type t = {
  1. prefix : string option;
  2. command : string;
  3. params : string list;
  4. trail : string option;
}
type parse_result =
  1. | Message of t
  2. | Parse_error of string * string
val extract_prefix : string -> string option * string
val extract_trail : string -> string * string option
val extract_command_and_params : string -> string * string list
val parse : string -> parse_result
OCaml

Innovation. Community. Security.