[Bio] / FigWebServices / seed.psgi Repository:
ViewVC logotype

View of /FigWebServices/seed.psgi

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (download) (annotate)
Thu Apr 11 17:53:34 2013 UTC (6 years, 7 months ago) by olson
Branch: MAIN
CVS Tags: rast_rel_2014_0729, rast_rel_2014_0912, HEAD
SEED service interface

use SEEDImpl;

use SEEDServer;
use Plack::Middleware::CrossOrigin;



my @dispatch;

{
    my $obj = SEEDImpl->new;
    push(@dispatch, 'SEED' => $obj);
}


my $server = SEEDServer->new(instance_dispatch => { @dispatch },
				allow_get => 0,
			       );

my $handler = sub { $server->handle_input(@_) };

$handler = Plack::Middleware::CrossOrigin->wrap( $handler, origins => "*", headers => "*");

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3