ChatopsRPC v0.2.0 ChatopsRPC.Plug.BodyReader View Source

Custom body reader that stores the message body in plug private. This is required for chatops rpc to do authentication against the signing token provided by the client.

Example

plug Plug.Parsers,
  parsers: [:urlencoded],
  body_reader: {ChatopsRPC.Plug.BodyReader, :read_body, []}

Link to this section Summary

Link to this section Functions