Result:
found more than 754 distributions - search limited to the first 2001 files matching your query ( run in 0.368 )


Mojo-RabbitMQ-Client

 view release on metacpan or  search on metacpan

share/amqp0-9-1.stripped.extended.xml  view on Meta::CPAN

    </method>
  </class>
  <class name="basic" handler="channel" index="60">
    <chassis name="server" implement="MUST"/>
    <chassis name="client" implement="MAY"/>
    <field name="content-type" domain="shortstr"/>
    <field name="content-encoding" domain="shortstr"/>
    <field name="headers" domain="table"/>
    <field name="delivery-mode" domain="octet"/>
    <field name="priority" domain="octet"/>
    <field name="correlation-id" domain="shortstr"/>

 view all matches for this distribution


Mojo-SMTP-Client

 view release on metacpan or  search on metacpan

lib/Mojo/SMTP/Client.pm  view on Meta::CPAN

		To      => 'you@work.org',
		Subject => encode('MIME-Header', decode('utf-8', '世界, 労働, 5月!')),
		Data    => 'Novosibirsk (Russian: Новосибирск; IPA: [nəvəsʲɪˈbʲirsk]) is the third most populous '.
		           'city in Russia after Moscow and St. Petersburg and the most populous city in Asian Russia'
	);
	$msg->attr('content-type.charset' => 'UTF-8');
	
	$smtp->send(
		from => 'me@home.org',
		to   => 'you@work.org',
		data => $msg->as_string

 view all matches for this distribution


Mojo-Server-AWSLambda

 view release on metacpan or  search on metacpan

example/lib/Mojo/Server/AWSLambda/Response.pm  view on Meta::CPAN

    foreach my $header (keys %{$headers}) {
       $singleValueHeaders->{lc $header} = $headers->{$header};
       push @{$multiValueHeaders->{lc $header} //= []}, $headers->{$header};
    }

    my $type = $singleValueHeaders->{'content-type'};
    my $isBase64Encoded = $type !~ m(^text/.*|application/(:?json|javascript|xml))i;
    if ($isBase64Encoded) {
        $body = encode_base64 $body, '';
    } 
    else {

 view all matches for this distribution


Mojo-Weixin

 view release on metacpan or  search on metacpan

doc/Weixin.pod  view on Meta::CPAN

    $client->send_media($friend|$group,"/tmp/test.txt");

    #发送url指定的文件
    $client->send_media($friend|$group,"http://www.example.com/test.jpg");

    #默认情况下,程序依靠文件扩展名或者url响应中的content-type等信息来识别媒体的格式,可能会导致识别不准确而影响发送
    #这种情况下你可以传递一个hash的结构,手动指定媒体的相关信息
    $client->send_media($friend|$group,{
        media_path => '/tmp/hello.txt', #媒体路径,可以是本地文件路径或者http协议的url
        media_data => 'hello world',    #可选,用于直接发送内存数据,优先级高于 media_path,
        media_mime => 'text/plain',     #可选,默认是 application/octet-stream,用于指定

 view all matches for this distribution


( run in 0.368 second using v1.01-cache-2.11-cpan-c0c260db3f6 )