alexdean / as2

AS2 protocol implementation in Ruby
https://rubygems.org/gems/as2
MIT License
3 stars 2 forks source link

client can transmit content which is not in a local file #5

Closed alexdean closed 2 years ago

alexdean commented 2 years ago
  1. As2::Client#send_file can either refer to a local file (for backwards-compatibility) or can accept a new content: keyword. (in my case i'm reading a file from S3 and sending out via AS2.)
  2. client and server can both be configured without referencing the global As2::Config.
    1. This allows the creation of full end-to-end tests using both the client & server code
    2. will also be useful when the time comes to rotate out an expiring certificate. (we can determine which configurations to use at runtime, and potentially try multiple certificates in sequence if necessary.)

have verified we can correctly send & receive files with mendelson server.