Giter VIP home page Giter VIP logo

vlingo-net / xoom-net-http Goto Github PK

View Code? Open in Web Editor NEW
11.0 8.0 8.0 792 KB

Reactive, scalable, and resilient HTTP servers and RESTful services running on VLINGO/LATTICE and VLINGO/ACTORS.

License: Mozilla Public License 2.0

C# 99.91% CSS 0.02% HTML 0.02% JavaScript 0.04% Vue 0.01%
actors actor-model netstandard20 netstandard21 net-languages reactive-programming http http-server http-services restful

xoom-net-http's Issues

ClientTests hang on CI

Needs further investigation why sometimes TestThatLoadBalancingClientDelivers and TestThatRoundRobinClientDelivers hangs on Appveyor and Travis CI.

The passing one is Ubuntu image. macOS, windows fail

Implement Action "to" as Expressions of ressource rather than string

Today in order to define ressource templates matching methods, URI and action we use strings everywhere like that

Action(6, "PUT", "/users/{userId}", "changeUser(string userId, body:Vlingo.Http.Tests.Sample.User.UserData userData)", "Vlingo.Http.Tests.Sample.User.UserDataMapper");

It would be much nicer instead of using magic string "changeUser(string userId, body:Vlingo.Http.Tests.Sample.User.UserData userData)" to use the expression tree

(resource, userId, userData) => resource.ChangeUser(userId, userData)

We could also replace magic string "PUT" by an enum

Fix HTTP parsing on MacOs

I tried to create a simple HTTP service with simple GET method handle.
On MacOS there is a different NewLine convention ("\r\n"). Handling of such situation is present in code in RequestParser code, unfortunately dotNet String.IndexOf("\n", ..) does not work properly. Always returns -1 as index on MacOS.
Simple change from "\n":string to '\n':char fixes the issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.