thrift-http: Support for Thrift-over-HTTP server and client

[ bsd3, library, thrift ] [ Propose Tags ] [ Report a vulnerability ]

Support for building servers and clients that communicate using Thrift over an HTTP transport. Uses WAI and Warp as the server-side HTTP implementation, and http-client for the client-side implementation.

This transport is only compatible with itself. In particular, it is *not* compatible with fbthrift or apache-thrift clients and servers.

NOTE: for build instructions and documentation, see https://github.com/facebookincubator/hsthrift

library thrift-http

Modules

  • Thrift
    • Channel
      • Thrift.Channel.HTTP
    • Server
      • Thrift.Server.HTTP

library thrift-http:test-lib

Modules

  • CalculatorHandler
  • EchoHandler
  • Echoer
    • Echoer
      • Echoer.Echoer.Client
      • Echoer.Echoer.Service
    • Echoer.Types
  • Math
    • Adder
      • Math.Adder.Client
      • Math.Adder.Service
    • Calculator
      • Math.Calculator.Client
      • Math.Calculator.Service
    • Math.Types

Flags

Manual Flags

NameDescriptionDefault
tests_use_ipv4

Force tests to use IPV4 whenever bringing thrift clients/servers up

Disabled
Automatic Flags
NameDescriptionDefault
optDisabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.1
Dependencies aeson (>=2.0.3 && <2.3), async (>=2.2.1 && <2.3), base (>=4.11.1 && <4.20), bytestring (>=0.10.8.2 && <0.13), containers (>=0.6 && <0.7), data-default (>=0.8.0 && <0.9), deepseq (>=1.4.4 && <1.6), fb-stubs (>=0.1.0 && <0.2), fb-util (>=0.1.0 && <0.2), ghc-prim (>=0.5.3 && <0.12), hashable (>=1.4.4 && <1.5), hspec (>=2.11.10 && <2.12), hspec-contrib (>=0.5.2 && <0.6), http-client (>=0.7.18 && <0.8), http-types (>=0.12.4 && <0.13), HUnit (>=1.6.1 && <1.7), network (>=3.2.7 && <3.3), STMonadTrans (>=0.4.8 && <0.5), streaming-commons (>=0.2.2 && <0.3), text (>=1.2.3.0 && <1.3), thrift-lib (>=0.1.0 && <0.2), transformers (>=0.5.6 && <0.7), unordered-containers (>=0.2.20 && <0.3), utf8-string (>=1.0.2 && <1.1), wai (>=3.2.4 && <3.3), warp (>=3.3.30 && <3.5) [details]
License BSD-3-Clause
Copyright (c) Facebook, All Rights Reserved
Author Facebook, Inc.
Maintainer hsthrift-team@fb.com
Category Thrift
Home page https://github.com/facebookincubator/hsthrift
Bug tracker https://github.com/facebookincubator/hsthrift/issues
Source repo head: git clone https://github.com/facebookincubator/hsthrift.git
Uploaded by SimonMarlow at 2025-04-23T10:10:13Z
Distributions
Downloads 0 total (0 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2025-04-23 [all 2 reports]