HttpClientIR
wvlet.airframe.http.codegen.HttpClientIR
object HttpClientIR extends LogSupport
Generate an intermediate representation (IR) of Scala HTTP client code from a given airframe-http interface definition (Router).
This IR abstracts away the differences between Scala (Sync/Async clients) and Scala.js (Async + AJAX).
Attributes
- Graph
-
- Supertypes
-
trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
HttpClientIR.type
Members list
Type members
Classlikes
case class ClientClassDef(clsName: String, services: Seq[ClientServiceDef]) extends ClientCodeIR
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ClientCodeIRclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
case class ClientMethodDef(httpMethod: String, isOpsRequest: Boolean, name: String, typeArgs: Seq[Surface], inputParameters: Seq[MethodParameter], clientCallParameters: Seq[String], returnType: Surface, path: String, requestModelClassDef: Option[ClientRequestModelClassDef], isRPC: Boolean) extends ClientCodeIR
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ClientCodeIRclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
case class ClientServiceDef(basePackageName: String, fullPackageName: String, serviceName: String, interfaceClass: Class[_], methods: Seq[ClientMethodDef]) extends ClientCodeIR
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ClientCodeIRclass Objecttrait Matchableclass AnyShow all
case class ClientServicePackages(packageLeafName: String, services: Seq[ClientServiceDef], children: Seq[ClientServicePackages])
Represents hierarchical API structures
Represents hierarchical API structures
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
case class ClientSourceDef(destPackageName: String, classDef: ClientClassDef) extends ClientCodeIR
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ClientCodeIRclass Objecttrait Matchableclass AnyShow all
object GrpcMethodType
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
GrpcMethodType.type
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Value members
Concrete methods
Building an intermediate representation of the client code
Building an intermediate representation of the client code
Attributes
Inherited methods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
In this article