Plugin Directory

Changeset 1478492


Ignore:
Timestamp:
08/19/2016 08:10:25 AM (10 years ago)
Author:
stefanosk
Message:

async requests, HTTP v1.1, tested with WP 4.6

Location:
socketizer/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • socketizer/trunk/README.txt

    r1473617 r1478492  
    44Tags: live, realtime, websockets, async, load, refresh
    55Requires at least: 3.0.1
    6 Tested up to: 4.5.3
     6Tested up to: 4.6
    77Stable tag: trunk
    88License: GPLv2 or later
     
    6868== Changelog ==
    6969
     70= 1.1.0 =
     71 * Non blocking requests to remote service. The plugin should now be completely asynchronous
     72 * Switch to HTTP v1.1
     73
    7074= 1.0.0 =
    7175Initial release
    7276
    7377== Upgrade Notice ==
     78= 1.1.0 =
     79No further actions required
     80
    7481= 1.0.0 =
    7582No further actions required - first public release
  • socketizer/trunk/admin/class-com-socketizer-admin.php

    r1473617 r1478492  
    206206            );
    207207            $url     = $this->socketizer_service_url . 'cmd/client/refresh/post/';
    208             wp_remote_post( $url, array( 'body' => json_encode( $args ) ) );
     208            wp_remote_post( $url, array(
     209                'httpversion' => '1.1',
     210                'blocking' => false,
     211                'body' => json_encode( $args )
     212            ) );
    209213        }
    210214    }
     
    236240                    'commentId'    => (string) $comment_id,
    237241                );
    238                 wp_remote_post( $url, array( 'body' => json_encode( $args ) ) );
     242                wp_remote_post( $url, array(
     243                    'httpversion' => '1.1',
     244                    'blocking' => false,
     245                    'body' => json_encode( $args )
     246                ) );
    239247            }
    240248        }
     
    264272            );
    265273            $url     = $this->socketizer_service_url . 'cmd/client/refresh/post/';
    266             wp_remote_post( $url, array( 'body' => json_encode( $args ) ) );
     274            wp_remote_post( $url, array(
     275                'httpversion' => '1.1',
     276                'blocking' => false,
     277                'body' => json_encode( $args )
     278            ) );
    267279        }
    268280    }
     
    296308            );
    297309            $url     = $this->socketizer_service_url . 'cmd/client/refresh/post/';
    298             wp_remote_post( $url, array( 'body' => json_encode( $args ) ) );
     310            wp_remote_post( $url, array(
     311                'httpversion' => '1.1',
     312                'blocking' => false,
     313                'body' => json_encode( $args )
     314            ) );
    299315        }
    300316    }
     
    325341            );
    326342            $url     = $this->socketizer_service_url . 'cmd/client/refresh/post/';
    327             wp_remote_post( $url, array( 'body' => json_encode( $args ) ) );
     343            wp_remote_post( $url, array(
     344                'httpversion' => '1.1',
     345                'blocking' => false,
     346                'body' => json_encode( $args )
     347            ) );
    328348        }
    329349    }
  • socketizer/trunk/com-socketizer.php

    r1473617 r1478492  
    1717 * Plugin URI:        https://socketizer.com
    1818 * Description:       Your web in real time. Painful Websockets - WordPress integration, no coding skills required!
    19  * Version:           1.0.0
     19 * Version:           1.1.0
    2020 * Author:            Stef Kariotidis
    2121 * Author URI:        https://socketizer.com
Note: See TracChangeset for help on using the changeset viewer.