MockServerFactory class

Factory that uses the rust ffi v0.1.1 bindings to create a mock server to execute the matching process.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() bool
Tries to close all servers that weren't closed explicitly.
closeServer(MockServer server) bool
createMockServer(Interaction interaction, {int? port}) MockServer
Starts a mock server for a single interaction.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

create({String? libPath}) Future<MockServerFactory>
Creates a server factory from the defaults.