package zmatrix
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- zmatrix
- MatrixRequests
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- type AuthMatrixEnv = MatrixEnv with Has[Authentication]
- final case class Config(matrix: MatrixConfigurationContent) extends Product with Serializable
- implicit class ExtendedZIOState[R, E] extends AnyRef
-
type
MatrixAction = ZIO[Has[MatrixConfiguration], Nothing, Request[MatrixResponse[Json], Any]]
- Definition Classes
- MatrixRequests
- trait MatrixConfiguration extends AnyRef
- final case class MatrixConfigurationContent(homeServer: String, apiPrefix: String = ..., userId: Option[String] = None, deviceName: Option[String] = None, deviceId: Option[String] = None, since: Option[String] = None) extends Product with Serializable
- type MatrixEnv = zio.ZEnv with Has[MatrixClient] with Has[MatrixConfiguration] with Logging
- sealed trait MatrixError extends Exception
-
type
MatrixResponse[T] = Either[MatrixResponseError, T]
- Definition Classes
- MatrixRequests
-
type
MatrixResponseError = ResponseException[ResponseError, Error]
- Definition Classes
- MatrixRequests
- trait WithAccess extends AnyRef
Value Members
-
def
get(path: Seq[String]): MatrixAction
- Definition Classes
- MatrixRequests
-
def
post(path: Seq[String]): MatrixAction
- Definition Classes
- MatrixRequests
-
def
postJson(path: Seq[String], body: Json): MatrixAction
- Definition Classes
- MatrixRequests
-
def
putJson(path: Seq[String], body: Json): MatrixAction
- Definition Classes
- MatrixRequests
-
def
withSince(request: Request[MatrixResponse[Json], Any]): ZIO[AuthMatrixEnv, Nothing, RequestT[Identity, MatrixResponse[Json], Any]]
- Definition Classes
- MatrixRequests
- object MatrixConfiguration
- object MatrixError extends Serializable