at_lookup 3.7.0-rc1 copy "at_lookup: ^3.7.0-rc1" to clipboard
at_lookup: ^3.7.0-rc1 copied to clipboard

A Dart library that contains the core commands that can be used with a secondary server (scan, update, lookup, llookup, plookup, etc.)

The Atsign FoundationThe Atsign Foundation

pub package pub points gitHub license

at_lookup library #

Overview: #

The AtLookup Library is the low-level direct implementation of the Atsign Protocol verbs. The AtLookup package is an interface to interact with the secondary server to execute commands(scan, update, lookup, llookup, plookup, etc).

Get started: #

Installation: #

To add this package as the dependency, add it to your pubspec.yaml

dependencies:
  at_lookup: ^3.0.5

Add to your project

pub get 

Import in your application code

import 'package:at_lookup/at_lookup.dart';

Clone it from github #

Feel free to fork a copy of the source from the GitHub Repo

Usage #

To get the instance of at_lookup #

final AtLookupMuxable atLookUp = AtLookUp.withSecureSocket(
  atSign: '@alice',
  rootDomain: AtRootDomain.atsignDomain,
  transport: secureSocketTransport(SecureSocketConfig()),
  // How this connection authenticates, as one closure. at_lookup holds no key
  // material of its own; at_auth builds an authenticator from whatever
  // credential you have - a keystore, an AtChops, or a bare private key.
  // Pass null for a connection that never authenticates.
  authenticator: authenticatorFor(keysIo, '@alice'),
);

withSecureSocket returns an [AtLookupMuxable], which is an AtLookUp that also carries the atServer's notification stream, so one connection and one parser handle both of the atServer's framings. Please refer to examples for more details.

Open source usage and contributions #

This is freely licensed open source code, so feel free to use it as is, suggest changes or enhancements or create your own version. See CONTRIBUTING.md for detailed guidance on how to setup tools, tests and make a pull request.

10
likes
160
points
21.1k
downloads

Documentation

Documentation
API reference

Publisher

verified publisheratsign.org

Weekly Downloads

A Dart library that contains the core commands that can be used with a secondary server (scan, update, lookup, llookup, plookup, etc.)

Homepage
Repository (GitHub)
View/report issues
Contributing

License

BSD-3-Clause (license)

Dependencies

at_chops, at_commons, at_utils, meta, mutex

More

Packages that depend on at_lookup