A C# implementation of the HTTP 1.1 protocol.
OTHER License
Bot releases are hidden (Show)
BenchmarkDotNet v0.13.7, Void Linux
Execution Time: 37.864s
Mean: 163.40μs
Error: 940ns
StdDev: 7.22μs
Max per second: 6,120.08 (1,000,000,000ns / 163,396.52ns)
Mean: 3.96μs
Error: 10ns
StdDev: 34ns
Max per second: 252,775.34 (1,000,000,000ns / 3,956.08ns)
Full Changelog: https://github.com/OoLunar/HyperSharp/compare/0.2.0...0.3.0
Published by OoLunar about 1 year ago
The latest release of HyperSharp introduces a range of significant enhancements that bolster the framework's versatility, modularity, and performance. The following key improvements have been implemented:
Connection
property within the HyperContext. This attribute facilitates direct interaction with the underlying stream, allowing seamless read and write operations. This enhancement streamlines communication processes, enhancing operational efficiency.CancellationToken
: Comprehensive support for CancellationToken
has been seamlessly integrated, affording developers greater control over asynchronous operations. This inclusion enhances the predictability and reliability of asynchronous workflows.HyperSharp.Results
PackageThe introduction of the HyperSharp.Results
package heralds a novel approach to managing and conveying results within applications:
HyperSharp.Results
supersedes FluentResults
by offering an efficient struct-based mechanism for result management. The transition is designed to be smooth, with the familiar Ok
response elegantly replaced by Success
, aligning with the package's established nomenclature.HyperSharp.Responders
PackageThe revamped HyperSharp.Responders
package introduces advanced capabilities for handling custom input and return types:
HyperSharp.Responders
leverages generics to accommodate custom input and return types. This empowers developers to seamlessly integrate and reuse the system across a spectrum of scenarios, enhancing both code maintainability and reusability.In summary, the latest HyperSharp release underscores a commitment to providing a modular, high-performing, and adaptable framework. The distinct packages - HyperSharp.Core
, HyperSharp.Results
, and HyperSharp.Responders
- collectively contribute to a cohesive ecosystem, amplifying the development experience and empowering developers to construct resilient and efficient applications.
ok so maybe this was generated from ChatGPT but please I don't have the patience to write all of this by hand thanks for understanding
Published by OoLunar about 1 year ago
This is HyperSharp's first initial release. Currently a full HTTP Rest Request takes 1ms or less. The responder system is implemented and fully tested. All responses are serialized to JSON. The HyperContext
class is overridable in the event that you do not wish to return a JSON response. Lastly we have IError
json serializers which can be used for pretty-printing errors during development or production.
Full Changelog: https://github.com/OoLunar/HyperSharp/commits/0.1.0