IsCreatable
public protocol IsCreatable
Flags a resource as being creatable. This protocol does nothing by itself, but
has constrained extensions for types implementing RootResource and
ChildResource.
-
createExtension methodA static function for
RootResourcewhich returns aPaththat encodes aPOSTrequest for single resource.Declaration
Swift
public static var create: Path<Self, SingularPath, POST>
-
createExtension methodA static function for
ChildResourcewhich returns aPaththat encodes aPOSTrequest for single resource.Declaration
Swift
public static var create: ChildPath<Self, SingularPath, POST>
-
createExtension methodA static function for
SingularRootResourcewhich returns aPaththat encodes aPOSTrequest for single resource.Declaration
Swift
public static var create: Path<Self, SingularPath, POST>
-
createExtension methodA static function for
SingularChildResourcewhich returns aPaththat encodes aPOSTrequest for single resource.Declaration
Swift
public static var create: ChildPath<Self, SingularPath, POST>
View on GitHub
Install in Dash
IsCreatable Protocol Reference