Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drops HttpListener, and rewrites Pode's listener in .NET Core. #579

Merged
merged 24 commits into from
Jun 28, 2020

Conversation

Badgerati
Copy link
Owner

Description of the Change

As per #573, the HttpListener has been dropped. This also rewrites Pode's socket listener using .NET Core. Everything that Pode's listener supported before is still present, plus the following new features that previously only worked if using HttpListener:

  • -SelfSigned on Add-PodeEndpoint now works - and is xplat
  • -CertificateThumbprint on Add-PodeEndpoint now works - but only on Windows
  • -CertificateName (previously just -Certificate) on Add-PodeEndpoint now works - but also only on Windows

The following have also been renamed:

  • -CertificateFile is now -Certificate on Add-PodeEndpoint
  • -RawCertificate is now -X509Certificate on Add-PodeEndpoint

The -Type Pode on Start-PodeServer is no longer needed/present - as there's now only 1 listener.

Related Issue

Resolves #573

@Badgerati Badgerati added this to the 2.0.0 milestone Jun 17, 2020
@Badgerati Badgerati self-assigned this Jun 17, 2020
@Badgerati Badgerati merged commit bad2272 into develop Jun 28, 2020
@Badgerati Badgerati deleted the Issue-573 branch June 28, 2020 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2.0: Drop support for HttpListener, and rewrite the Pode Listener
1 participant