Skip to content

aidapsibr/EDDN-Listener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EDDN Listener

Eddn.Listener on Nuget.org

Connects to EDDN (Elite:Dangerous Data Network), a ZeroMQ Relay with ZLib compression, and executes a callback when messages are received and provides the decompressed JSON to the callback.

This is an extremely easy way to get started with EDDN in C#.

The operations are fully TPL (Task-Parallel Library) threaded and async, as such make sure the main thread lives on after calling the BeginListener.

EddnListener.Create()
  .AddLogMethod(Console.WriteLine)
  .BeginListener((message) => Console.WriteLine(message));
  
Console.ReadLine();  //This is only a holder for the main thread, only necessary in console apps that do nothing else.

About

A .NET utility for subscribing a callback to EDDN messages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages