Skip to content

Commit

Permalink
Merge pull request #157 from eclipse-thingweb/fix-example
Browse files Browse the repository at this point in the history
docs(README.md): use new Servient API in README example
  • Loading branch information
JKRhb authored May 22, 2024
2 parents f549a90 + 62cd014 commit b16c826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ import "package:dart_wot/binding_http.dart";
import "package:dart_wot/core.dart";
Future<void> main(List<String> args) async {
final servient = Servient(
final servient = Servient.create(
clientFactories: [
CoapClientFactory(),
HttpClientFactory(),
Expand Down

0 comments on commit b16c826

Please sign in to comment.