Skip to content

angedelamort/web-socket-sharp-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebSocketSharpController

Add-on for WebSocketSharp. Use Web Sockets like .NetCore Controllers.

Requirements

  • Visual Studio (Code or any other)
  • .Net Standard ^2

Usage

TODO

Controllers & Handlers

  • explain the naming convention (Controller, Handler)
    • Microsoft.AspNetCore.Mvc.Route
  • explain on how to use each of the type and what is included.

WebSocketController vs MessageController

  • explain the main roles of each.
  • It's like glbal vs local.

TODO

  • WebSocketManagerMiddlewareExtensions.AddWebSocket
    • Have a way to override the services.AddTransient<WebSocketDictionary>(); Probably by having a default parameter to null.
    • It's possible to have multiple web socket per client. Depending on the endpoint
  • Make it possible to switch between string and binary.
  • Add the ILogger properly (hackish right now).
  • Make appropriate uinit tests.

About

Add-on for WebSocketSharp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages