For now, it is difficult to hide the details of its implementation, as the Federation is a class. Like the relationship between the Context interface and the ContextImpl class, we should extract out the FederationImpl class from the Federation interface (which is currently a class).
For now, it is difficult to hide the details of its implementation, as the
Federation
is a class. Like the relationship between theContext
interface and theContextImpl
class, we should extract out theFederationImpl
class from theFederation
interface (which is currently a class).new Federation()
constructor: https://github.com/dahlia/fedify/commit/22cef13ae2d2d00153898a368c941f9ae69ee7e7createFederation()
function: https://github.com/dahlia/fedify/commit/22cef13ae2d2d00153898a368c941f9ae69ee7e7new Federation()
constructor withcreateFederation()
functionFederationParameters
interfaceFederation
class intoFederationImpl
Federation
interface fromFederationImpl
classContextImpl
andRequestContextImpl
directly access to aFederationImpl
instance