Created
October 20, 2015 00:12
-
-
Save purefn/9dc1784b14f40f8766a0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final case class Request | |
( method: Method | |
, uri: Uri | |
, httpVersion: HttpVersion | |
, headers: CI[String] ==>> IList[String] | |
, body: EntityBody | |
) | |
final case class Response | |
( method: Method | |
, httpVersion: HttpVersion | |
, headers: CI[String] ==>> IList[String] | |
, body: EntityBody | |
) | |
sealed trait HttpcOps[A] | |
object HttpcOps { | |
final case class Send(req: Request) extends HttpcOps[Response] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment