Packages

object PostResponse

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PostResponse
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def capResponse[P, W, ID](unit: P)(implicit pw: Postable[P, W, ID], ph: PostHistory[W, ID]): (W) => Future[PostData[P, W, ID]]
  2. implicit val ec: ExecutionContext
  3. def postResponse[Q, W, ID](web: W, post: Q, id: ID, response: PostResponse[W, ID])(implicit qp: Postable[Q, W, ID]): Future[Vector[PostData[_, W, ID]]]

    Given a post response and a post, if types match (as evidenced by implicits) then the the response is run and the new posts wrapped as PostData are returned (the wrapping allows implicits to be passed on).

  4. def typedResponseOpt[Q, W, ID](response: PostResponse[W, ID])(implicit qp: Postable[Q, W, ID]): Option[TypedPostResponse[Q, W, ID]]

    Casting to a typed post response if the Postables match