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 Introduction

xoom-net-http

Build status Build master NuGet Gitter

Usage

Reactive, scalable, and resilient HTTP servers and RESTful services running on vlingo-net/cluster and vlingo-net/actors.

  1. The essential features are completed
  • Fully actor-based asynchronous requests and responses.
  • The request handling is resource based.
  • Requests that require message body content are auto-mapped to simple Java objects.
  1. To run the Server:
  1. See the following for usage examples:

License (See LICENSE file for full license)

Copyright © 2012-2021 VLINGO LABS. All rights reserved.

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.

xoom-net-http's People

Contributors

tjaskula avatar vaughnvernon avatar zpbappi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xoom-net-http's Issues

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

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

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.